问题相关发送邮件 [英] question realated sending mail
本文介绍了问题相关发送邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
SMTP服务器需要安全连接,或者客户端未经过身份验证。服务器响应为:5.5.1需要身份验证。了解更多信息
如何解决?
解决方案
检查如果需要安全连接,则为SMTP设置。如果是,请将EnableSsl
属性设置为true。
同时检查您提供的连接凭据。
Quote:SMTP服务器需要安全连接或客户端未经过身份验证。
这意味着您必须将true设置为enableSsl
。
您可能已输入用户名和密码错误
,所以请检查一下。
-KR
>
嗨
你尝试创建发送邮件系统。所以你选择smpt.if你使用SMPT你需要使用一个虚拟电子邮件帐户或你使用你自己的电子邮件帐户,但你需要提供用户名,密码,港口等。对于gmail端口是587.so没有用户名密码你不能发送邮件。
试试这个链接
使用ASP.NET和C#发送邮件/联系表单 [ ^ ]
http://www.aspdotnet-suresh.com/2010/11/introduction-this-article-i-will.html [ ^ ]
[ ^ ]
问候
Aravind
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
how can i solve it
解决方案
Check your SMTP a settings if it requires secure connection. If yes, setEnableSsl
property to true.
Also check for credentials you are providing for connecting.
Quote:The SMTP server requires a secure connection or the client was not authenticated.
Which means that you have to set true to theenableSsl
.
And it might be possibility that you might have enteredwrong user name and password
, so check that as well.
-KR
Hi U try create send mail system.so u choose smpt.if u use SMPT u need to use one dummy email account or u use ur own email account,but u need to give username,password,port ect. for gmail port is 587.so without username password u cant send mail.
try this links
Send Mail / Contact Form using ASP.NET and C#[^]
http://www.aspdotnet-suresh.com/2010/11/introduction-this-article-i-will.html[^]
[^]
Regards
Aravind
这篇关于问题相关发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文