{{{
class MyAdminEmailHandler(AdminEmailHandler):
def send_mail(self, **kwargs):
mail.mail_who_I_say(connection=self.connection(), **kwargs)
}}}
With the original implementation changing such that instead of `emit()`
calling `mail.mail_admins` it instead calls
`self.send_mail(subject=subject, message=message,
html_message=html_message)`
--
Ticket URL: <https://code.djangoproject.com/ticket/22407>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* component: Core (Mail) => Utilities
* needs_tests: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/22407#comment:1>
* has_patch: 0 => 1
Comment:
https://github.com/django/django/pull/3495
--
Ticket URL: <https://code.djangoproject.com/ticket/22407#comment:2>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/22407#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"d552da1f8d42b7c6db992fee42bc4781f5fdde43"]:
{{{
#!CommitTicketReference repository=""
revision="d552da1f8d42b7c6db992fee42bc4781f5fdde43"
Fixed #22407 -- Added AdminEmailHandler.send_mail().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22407#comment:4>