Prerequisites
To get the most out of this guide, you’ll need to:- Create an API key
 - Verify your domain
 - Install 
virtualenvby runningpip install virtualenv 
1. Setup your environment
Create and activate your new virtualenv.RESEND_API_KEY environment variable by running.
2. Send email using Django’s SMTP EmailMessage
Set the necessary attributes in yoursettings.py file.
get_connection and EmailMessage
3. Try it yourself
Django SMTP Example
See the full source code.