Robert Pluim <rpl...@gmail.com> writes: > TLS and SSL are the same thing. The difference is that 465 is used for > direct TLS/SSL, and 587 uses TCP optionally followed by STARTTLS.
Thank you for the clarification. I added this in the comments to my code so I don't forget in the future. -- Serghei Iakovlev