使用带有c#的asp.net发送电子邮件时遇到错误 [英] facing an error while sending email using asp.net with c#
本文介绍了使用带有c#的asp.net发送电子邮件时遇到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试使用asp.net发送电子邮件时,将显示以下错误。我该怎么做才能纠正这个错误..............
SMTP服务器要求安全连接或客户端未经过身份验证。服务器响应是:需要进行SMTP身份验证。
when i try to send an email using asp.net the following error will be displayed. what can i do for correct this error..............
The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.
推荐答案
检查两件事:
1)。你输入了正确的密码吗?
2)。设置适当的SSL值(true / false)。
Check two things:
1). Did you entered the correct password?
2). set the appropriate SSL value(true/false).
这篇关于使用带有c#的asp.net发送电子邮件时遇到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文