Skip to main content

Prerequisites

Before you start, you’ll need:

Guide

1

Setup your environment

Create and activate your new virtualenv.
Install dependencies.
Set your RESEND_API_KEY environment variable by running.
2

Send email using Django's SMTP EmailMessage

Set the necessary attributes in your settings.py file.
Use Django’s get_connection and EmailMessage

Examples

Django SMTP Example

See the full source code.