码迷,mamicode.com
首页 > Web开发 > 详细

login SMTP send mail error : Unable to read data from the transport connection: net_io_connectionclosed

时间:2016-07-05 15:30:38      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:

client.Credentials = new NetworkCredential(sSMTPuser, sSMTPpass);

client.Credentials = new NetworkCredential(user@domainName.com, sSMTPpass);

用户名需要带上域名,真是脑残的邮件服务器: 亿邮。

login SMTP send mail error : Unable to read data from the transport connection: net_io_connectionclosed

标签:

原文地址:http://www.cnblogs.com/leavind/p/5643740.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!