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