471,577 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,577 software developers and data experts.

SMTPClient.EnableSsl using TLS?


It seems like SmtpClient.EnableSsl = true, results in that the SmtpClient
instance tries to use TLS over SMTP... That is: it commands "STARTTLS" when
the connection has been established. My question is: Does SmtpClient also
support SMTPS (that is: SMTP using SSL) ?

SmtpClient client = new SmtpClient("server", 465);
client.UseDefaultCredentials = false;
client.EnableSsl = true; // TLS ?
client.Credentials = new NetworkCredential("whopper", "cheese");

Jul 2 '07 #1
0 17704

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Nick Z. | last post: by
6 posts views Thread by =?Utf-8?B?VG9yc3Rlbg==?= | last post: by
7 posts views Thread by Afshar | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Vinnie | last post: by
1 post views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.