Last month one of our client wanted to disable TLS 1.0 in server and they wanted to go with latest TLS 1.2.
After disabled this, the email wasn't working. To solve this I had to call this single line before call call send function.
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
No comments:
Post a Comment