django1/django/core/mail/backends
Jon Dufresne 9b9c8c4a81 Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection if an exception occurs.
Fixes unclosed socket ResourceWarning in mail test.

Thanks Claude Paroz for the review.
2016-10-21 05:59:07 -07:00
..
__init__.py Fixed #10355 -- Added an API for pluggable e-mail backends. 2009-11-03 12:53:26 +00:00
base.py Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection if an exception occurs. 2016-10-21 05:59:07 -07:00
console.py Decode mails using the message encoding. 2013-12-30 23:54:12 +01:00
dummy.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
filebased.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
locmem.py Fixed #27036 -- Made locmem email backend's send_messages() accept generators. 2016-08-08 20:13:29 -04:00
smtp.py Removed unused variable in django/core/mail/backends/smtp.py. 2016-10-05 11:16:45 -04:00