Prerequisites
To get the most out of this guide, you’ll need to:1. Install
Get the django-anymail package with Resend support.2. Configure
Add Anymail to your Django settings.settings.py
3. Send email using HTML
The easiest way to send an email is by using thehtml_message parameter.
views.py
4. Send email using a template
For more complex emails, you can use Django’s template system. First, create an HTML template attemplates/emails/welcome.html:
templates/emails/welcome.html
views.py
5. Try it yourself
Django App
Full Django web application
Basic Send
Basic email sending
Attachments
Send emails with file attachments
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow