Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure SMTP over SSL verifies the server certificate (#2193)
This patch supplies an ssl context to the `SMTP_SSL` constructor, which enables certificate verification. The default context will use the system's trusted CA certificates. See https://docs.python.org/3/library/ssl.html#ssl-security for more. Kudos to Martin Schobert and Tobias Ospelt of Pentagrid AG for reporting to Mozilla Security.
- Loading branch information