---
title: 'Django Async Mail'
url: 'http://jayeshmahato.com/blog/technology/djangoasyncmail'
markdown: 'http://jayeshmahato.com/blog/technology/djangoasyncmail.md'
date: '2026-07-08'
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. Using Celery and similar apps for such …'
taxonomy:
  archives_month:
    - jul_2026
  archives_year:
    - '2026'
---

# Django Async Mail

## Django Async Mail

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. Using Celery and similar apps for such tasks is definitely an overkill, as they consume heavy system resources.

## Installation:

In virtual environment, install by using pip as below:

> pip install DjangoAsyncMail

## Quick start

1. Add "DjangoAsyncMail" to your INSTALLED\_APPS setting like this:

> ```
> INSTALLED_APPS = [
>     ...
>     'DjangoAsyncMail',
> ]
> ```

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 = 'smtp.yourdomainname.com'
> EMAIL_USE_TLS = False
> EMAIL_PORT = 587
> EMAIL_HOST_USER = 'noreply@yourdomainname.com'
> EMAIL_HOST_PASSWORD = 'your_email_password'
> DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
> ```

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(subject,email_body,recipient_list,reply_to)
> 
> Example:
> send_html_mail('Testing','Test HTML Content',['example@example.com'],['noreply@yourdomainname.com'])
> ```

4. Check email delivery in Recipient's mailbox.

---

## Navigation

- Parent: [Technology](http://jayeshmahato.com/blog/technology.md)
- Previous: [How to Write to NTFS Drives in macOS Catalina and later](http://jayeshmahato.com/blog/technology/how-to-write-to-ntfs-drives-in-macos-catalina-and-later.md)
- Next: [Build a Local AI Coding Agent via Llama.cpp and VSCode for Agentic Programming](http://jayeshmahato.com/blog/technology/build-a-local-ai-coding-agent-via-llama-cpp-and-vscode-for-agentic-programming.md)
