SmtpClient.EnableSsl Meaning

I suppose I am showing my lack of knowlege about the protocol used for SMTP and the actual delivery of e-mail using that protocol between the sending server and the recipient's receiving server. But I have a real basic question regarding encrypting of an e-mail message with respect to the SmtpClient method of sending e-mail.

The SmtpClient.EnableSsl property description is as follows:

Specify whether the SmtpClient uses Secure Sockets Layer (SSL) to encrypt the connection.

I understand that to clearly mean that SSL (or TLS) will be used to encrypt the data sent over the connection between the client application and the designated SMTP server. However, am I correct in assuming that it doesn't mean that the relaying of the e-mail from the designated SMTP server to the actual e-mail recipient is not encrypted because that is not the same connection but a different connection to a SMTP server that receives the e-mail for the particular recipient

Mardy



Answer this question

SmtpClient.EnableSsl Meaning

  • DannyArcher

    You are correct, the client establishes an SSL connection to the first hop. I believe all subsequent hopes may not use SSL.

    Alternate encryption technologies, such as S/MIME (which would likely meet your needs) are being considered for inclusion in a future release of the framework.



  • SmtpClient.EnableSsl Meaning