Opened 9 years ago

Closed 9 years ago

#4269 closed (wontfix)

Signal in the EmailMessage.send()

Reported by: lizendir@… Owned by: Adrian Holovaty
Component: Core (Mail) Version: master
Severity: Keywords: mail debugging
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Generation of signal in the EmailMessage.send()
This will allow painless debugging of outgoing mail messages

Change History (1)

comment:1 Changed 9 years ago by Malcolm Tredinnick

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: wontfix
Status: newclosed

Sending signals is not free and I can't think of a situation outside of debugging where this would be useful. If you need to get some debugging information every time an email is sent, subclass the EmailMessage class (you can also drop in your own replacements for send_mail() and send_mass_mail() to use your subclass by just monkey-patching the mail module if you need to debug something that is using those methods).

Note: See TracTickets for help on using tickets.
Back to Top