Opened 8 years ago

Closed 8 years ago

#4269 closed (wontfix)

Signal in the EmailMessage.send()

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

Description

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

Change History (1)

comment:1 Changed 8 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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