无法发送该消息SMTP服务器需要安全连接或客户端未通过身份验证.服务器响应为:5.5.1需要身份验证. [英] The message could not be sentThe SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

查看:463
本文介绍了无法发送该消息SMTP服务器需要安全连接或客户端未通过身份验证.服务器响应为:5.5.1需要身份验证.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了smtp:-gmail和端口587,但此消息出现了
请帮帮我.

无法发送该消息SMTP服务器需要安全连接或客户端未通过身份验证.服务器响应为:5.5.1需要身份验证.在

i have using smtp:- gmail and port 587 but this message appear
Please help me.

The message could not be sentThe SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at

推荐答案

中了解更多信息错误消息非常清晰:
The error message is pretty clear:
The SMTP server requires a secure connection or the client was not authenticated


5.5.1 Authentication Required



提供客户端(即发件人)登录详细信息,否则它将无法发送消息.
这里有一个有效的示例:在以下位置发送电子邮件带有或不带有附件的C#:通用例程. [



Provide the client (i.e. the sender) login details, or it cannot send the message.
There is a sample here that works: Sending an Email in C# with or without attachments: generic routine.[^]


检查代码凭据在您的代码中是否正确.
check the code credential is proper in ur code.


您应该转到gmail帐户并确认您的主机的IP地址,然后尝试发送邮件,并看到这对您有用,我的朋友....
you should go to gmail account and confirm the Ip address your host then try to send and see this is work for you my friend....


这篇关于无法发送该消息SMTP服务器需要安全连接或客户端未通过身份验证.服务器响应为:5.5.1需要身份验证.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆