django/django — pull request #2709 by andialbrecht (2014-05-24 17:57:43+00:00)
Title: Fixed #20743 -- Added support for keyfile/certfile in SMTP connections.

Added two new settings EMAIL_SSL_CERTFILE and EMAIL_SSL_KEYFILE which
can be used to configure a certificate chain file and a private key
file that are passed to either SMTP_SSL constructor or SMTP.starttls.

Incorporated previous work by jwmayfield (SVN-based patch originally
provided by serg.partizan / partizan and Wojciech Banaś) for
certfile/keyfile to SMTP.starttls() when EMAIL_USE_TLS is set to True.