Enable SSL with Non-SSL Port

Hi,

I am trying to Enable SSL by setting SecurityOptions to 'SSLImplicit' on SMTPClient and expect Send to fail when a non-SSL port is set (25). But Send is successful. Should it not error? Please let me know if I should include any other property to make the send fail in the case as above.

Regards

Sathyapriya

Hi Sathyapriya,


Certain email servers seem to allow communicating over port 25 if your ISP server allows it and perhaps that's why it doesn't raise exception. The same behavior I could observe with Gmail as well. Could you please share which email server you are testing the issue with?