阅读背景:

从Windows中的系统配置获取SMTP服务器和主机

来源:互联网 

In Windows you can configure the mail settings from the control panel. What I want to know is where is that information stored? I need to write an app that can send email and by default I want to use those settings. I assumed that if I used the parameterless constructor of SmtpClient it would read them, however when I run the following code:In Windows you can configure the mail settings




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

分享到: