邮件发送程序的WebConfig配置
<system.net>
<mailSettings>
<smtp from="邮件地址" deliveryMethod="Network" >
<network host="SMPT服务器地址" port="SMPT服务器端口" userName="发送者邮箱" password="发送者邮箱密码"/>
</smtp>
</mailSettings>
</system.net>
<mailSettings>
<smtp from="邮件地址" deliveryMethod="Network" >
<network host="SMPT服务器地址" port="SMPT服务器端口" userName="发送者邮箱" password="发送者邮箱密码"/>
</smtp>
</mailSettings>
</system.net>