Skip to main content

A Django app to send email asynchronously

Project description


DjangoAsyncMail is a Django app to send email asynchronously. This is a light-weight app using only Python threading for sending emails. It is meant for casual emails, like sending account activation mail from your website when account activation is optional.

Detailed documentation is in this post.

Quick start

  1. Add "DjangoAsyncMail" to your INSTALLED_APPS setting like this:

  2. Remember to add EMAIL_HOST_USER segment is your main Django project settings like this

    # SMTP Mail Settings
    EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
    EMAIL_HOST = ''
    EMAIL_USE_TLS = False
    EMAIL_PORT = 587
    EMAIL_HOST_PASSWORD = 'your_email_password'
  3. Import and call the send_html_mail function with variables wherever you need like this

    from DjangoAsyncMail.mail import send_html_mail
    send_html_mail('Testing','Test HTML Content',[''],[''])
  4. Check email delivery in Recipient's mailbox.

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

DjangoAsyncMail-0.1.tar.gz (3.7 kB view hashes)

Uploaded source

Built Distribution

DjangoAsyncMail-0.1-py3-none-any.whl (5.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page