Server does not support secure connections smtp exception c#

Forums - C# Corner

server does not support secure connections smtp exception c#

The SMTP server requires a secure connection or the client was not authenticated.

does   movie   watch    you re welcome from moana   ways to wear a shemagh

I would prefer to check the exception for a StatusCode that indicates this, however the StatusCode that is returned is StatusCode. The only way I can determine that it failed because of lack of secure connection support is to check the Exception. Message, which is not ideal. This involves a lot of reflection and is not quite reliable and requires full trust to work. So you can load the resource string for the current locale and perform an exact match with your exception message:. You could also try to capture the exception from the AuthenticateAsClient since you would firstly use a SSL connection as:.

Post a Comment. Error occured while sending mail using 'smtp. SmtpException: Server does not support secure connections. GetConnection ServicePoint servicePoint. Thanks to Microsoft Escalation Support guys who shows me the more relevant cause of this problem.

Last post Feb 20, AM by dinesh kumar nayak. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Line smtp. NetworkCredential "pramuk97 gmail. Send mail ; Line TextBox5.

System.Net.Mail.SmtpException: Server does not support secure connections.

The server response was 5.5.1 Authentication Required gmail send





  1. Maik G. says:

    2019 dodge hellcat redeye for sale play it again sports cincinnati

Leave a Reply

Your email address will not be published. Required fields are marked *