开发者社区> 问答> 正文

云主机外发邮件出错

在主机上如下配置了邮箱,
<SMTP Host="smtp.mxhichina.com" Port="465" UserName="***" Password="***" DefaultCredentials="true" />
但是发邮件时出错:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
   at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)

展开
收起
1372347540607176 2019-01-18 10:52:05 743 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
十分钟上线-使用函数计算构建支付宝小程序服务 立即下载
代码未写,漏洞已出 立即下载
代码未写,漏洞已出——谈谈设计不当导致的安全问题 立即下载