SMTP Client

<system.net>
<mailSettings>
<smtp from="&quot;china&quot;service@china.com">
<network host="china.com" defaultCredentials="true"/>
</smtp>
</mailSettings>
</system.net>

原文地址:https://www.cnblogs.com/lizhanglong/p/6964048.html