Socket
Socket
Sign inDemoInstall

django-eml-email-backend

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    django-eml-email-backend

Django email backend that saves emails to .eml files. Such files can be opened directly in Outlook or Mail.app.


Maintainers
1

Readme

======================== django-eml-email-backend

Django has filebased email backend that is handy for inspecting outgoing emails during development. But this backend saves emails to '.log' files and it is not clear how to view them in email client. This is especially important for html emails.

eml_email_backend saves outgoing emails to '.eml' files. This way emails can be opened directly in MS Outlook or Mail.app or previewed in OS X Finder by simply pressing space over the file.

Installation

::

$ pip install django-eml-email-backend

Usage

Setup the django email backend in your local_settings.py::

EMAIL_BACKEND = 'eml_email_backend.EmailBackend'
EMAIL_FILE_PATH = 'path/to/output/folder/'

Limitations

Full eml format is not supported, file extensions are just changed from ".log" to ".eml" by this app. It works in most cases. Patches for better eml support are welcome.

See also: https://code.djangoproject.com/ticket/15793

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc