Skip to main content

Send an error email when an you get an exception.

Project description

Send an error email when an you get an exception.

  • Free software: BSD license
  • Documentation: See Below

What does it do?

Here is how it works:

with ErrorEmail(email_config):

If do_stuff raises an exception, it will send an email with the traceback. That’s it.


The ErrorEmail context manager accepts a configuration dictionary that defines the To, From and SMTP server information. Here is an example:

  'SERVER': '',
  'PORT': 25,
  'TO': ['', ''],
  'FROM': '',

ErrorEmail doesn’t have robust email support at the moment. I’m happy to accept pull requests!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for erroremail, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size erroremail-0.1.6.tar.gz (11.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page