Opened 18 years ago
Closed 18 years ago
#4269 closed (wontfix)
Signal in the EmailMessage.send()
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Mail) | Version: | dev |
Severity: | Keywords: | mail debugging | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Generation of signal in the EmailMessage.send()
This will allow painless debugging of outgoing mail messages
Note:
See TracTickets
for help on using tickets.
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()
andsend_mass_mail()
to use your subclass by just monkey-patching the mail module if you need to debug something that is using those methods).