Python smtplib sending mail on old SSL port 465

Well still some certain company was still using SSL port 465 for their mail SMTP service.

following code is updated from book <Foundations of Python Network Programming>, changes just made for the old SSL supports.

New codes should  use starttls as default TLS/SSL connection.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.