Opened 17 years ago

Closed 17 years ago

#4269 closed (wontfix)

Signal in the EmailMessage.send()

Reported by: lizendir@… 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

Change History (1)

comment:1 by Malcolm Tredinnick, 17 years ago

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