authentication or decryption has failed when sending mail to GMail using SSL

后端 未结 7 1757
栀梦
栀梦 2020-12-09 05:42

I\'m referring to this guide on C# SMTP mail.

Here is my code:

MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient(\"smtp.gm         


        
相关标签:
7条回答
  • 2020-12-09 06:33

    Do you need to send securely with SSL? You could remove this statement SmtpServer.EnableSsl = true; which would not require the SSL cert.

    0 讨论(0)
提交回复
热议问题