阅读背景:

最好的方法来判断是否在。net的生产或开发环境中

来源:互联网 

I would like to send email differently on production then the development environment, such as sending emails only to me while testing. I know that I can set an application value in the webconfig file or check the url before sending the emails. I would like to know what is the best practice for doing this or if there is some other option that I don't know about that might be better? Any information on this topic would be greatly appreciated.I would like to send email differently on produ




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: