Question by
UnityQueries · Aug 20, 2021 at 12:29 PM ·
email
The SMTP server does not support a secure connection exception?
Hi All, I am working on sending an email with an attachment from Unity using Gmail SMTP servers but I am getting the following exception:
Exception : System.Net.Mail.SmtpException: Server does not support secure connections.
I have tried by setting SMTP Port 587,25,465 and enabled EnableSsl = true but still I am getting above exception.
Can anyone please provide a solution for this error.
Thank in advance.
Comment
Your answer
Follow this Question
Related Questions
I require users to signup with an Email Account,Add a Email Signin to app so users can down emails 0 Answers
iOS + SmtpClient + PickupDirectoryLocation + attachment = über slow? 0 Answers
No confirmation email after a week. Requested new email many times. 0 Answers
Send emails with inline images 2 Answers
(API level 26) or higher. 0 Answers