C# 发邮件 服务器响应为: 5.7.0 Must issue a STARTTLS command first
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                C# 发邮件  服务器响应为: 5.7.0 Must issue a STARTTLS command first
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. d21sm2344514and.26
SMTP 服務器要求安全連接或客戶端未通過身份驗證。 服務器響應為: 5.7.0 Must issue a STARTTLS command first. i6sm4954143tid.5
今天用Gmail的發送郵件,返回這錯誤.查了下是因為Gmail要求把ssl加密打開.
加上這代碼:client.EnableSsl = true;
轉載于:https://www.cnblogs.com/zhangzhu/p/3217134.html
總結
以上是生活随笔為你收集整理的C# 发邮件 服务器响应为: 5.7.0 Must issue a STARTTLS command first的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 什么水果低脂肪低蛋白?
- 下一篇: 威宁哪家发剑南春酒?
