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 Example
See the full source code.