Opened 11 years ago
Closed 11 years ago
#22327 closed New feature (fixed)
Turn BaseEmailBackend into a contextmanager
Description ¶
It would be useful to turn BaseEmailBackend (and thereby it's subclasses) into a contextmanager, that calls .open()
and .close()
, specifically for sending multiple mails over the same connection. This is implemented in a pull request: https://github.com/django/django/pull/2467
Change History (2)
comment:1 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Version: | → master |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 4aa80149e71d02947164a89ec5da6fd035393425: