Solution of Problem: “The remote certificate is invalid according to the validation procedure.”

Standard

While sending email with code,you get this error.

Solution is simple!

Do not send it with SSL

//smtpClient.EnableSsl = true;

Comment/Delete this line if you have used.

 

 

Advertisements