0

While working on email functionality using asp.net, I found the following error :

Unknown error occurred when sending email: The remote certificate is invalid according to the validation procedure.. at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)

After analysis on the above issue I found the solution as mentioned below :

Setting the SMTPEnableSsl property of the SmtpClient class to false resolved the issue.

Thanks & Regards, Santosh Kumar Patro

santosh kumar patro
  • 7,231
  • 22
  • 71
  • 143
  • You should write your answer as an answer to your own question and then, after a time set by stack overflow, mark it as answer. Then Stackoverflow will pick up your answer as an answer. FWIW – LosManos Nov 11 '13 at 09:35

1 Answers1

0

After analysis on the above issue I found the solution as mentioned below :

Setting the SMTPEnableSsl property of the SmtpClient class to false resolved the issue.

santosh kumar patro
  • 7,231
  • 22
  • 71
  • 143