Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#19325 closed New feature (fixed)

Make E-Mail Connection Overridable in AdminEmailHandler

Reported by: hannesstruss Owned by: nobody
Component: Core (Other) Version: master
Severity: Normal Keywords: logging
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Users might want to use a different email backend for error logging than the default one configured in the settings, e.g. if the default backend uses unreliable/delayed delivery methods such as an asynchronous task worker.

Change History (6)

comment:1 Changed 3 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by claudep

  • Needs documentation set
  • Needs tests set
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 3 years ago by hannesstruss

New pull request with docs and tests: https://github.com/django/django/pull/546

comment:4 Changed 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset

Don't forget to update the ticket metadata if you want someone to review your patch.

As 1.5 is feature-frozen now, this will probably be for 1.6.

comment:5 Changed 2 years ago by Hannes Struss <x@…>

  • Resolution set to fixed
  • Status changed from new to closed

In f9891f20872e2a468c4910a968c5e2fae75d0e51:

Fixed #19325 - Made email backend of AdminEmailHandler configurable

comment:6 Changed 2 years ago by Claude Paroz <claude@…>

In c6e0dedbdb22f4db6577886a2b67e5423684fe7f:

Fixed #19637 -- Ensured AdminEmailHandler fails silently

Thanks lsaffre for the report. Refs #19325.

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