Skip to content

Logging stops if there are errors sending emails to admins #99

@coleslaw481

Description

@coleslaw481

Recently we hit a limit on sending emails via SMTP:

smtplib.SMTPDataError: (550, b'5.4.5 Daily user sending quota exceeded. v7sm11267272pjk.37 - gsmtp')

Two problems with this:

  • Users and or Admins do not get any emails
  • Internal logging of errors in Django App stops

The fix might be as simple as setting fail_silently to True in the config or might require a custom email backend that can handle send errors without causing the file system logger to stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions