Share via


EMail sending using C# with TLS

Question

Tuesday, June 25, 2013 5:15 PM

hi every one,

What is TLS in C# and how to send email using TLS.?

what is use of ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls; in code ?

shoud we create object of ServicePointManager and assign it the smtp.servicepoint?

All replies (1)

Wednesday, June 26, 2013 10:28 AM âś…Answered

Hi,

TLS stands for Transport layer security which is being touted as the replacemnt for SSL

please refer to the following links

http://stackoverflow.com/questions/2057227/c-sharp-asp-net-send-email-via-tls

Each web server has its own security requirement . so each service point has its own security requitremt

Service point manager manages a collection of Securitypoints

http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.aspx

Regards,

Stygen