This example shows how to use Resend SMTP server with Django.
To get the most out of this guide, you’ll need to:
- Create an API key
- Verify your domain
- Install
virtualenv
by runningpip install virtualenv
- Create and activate a new virtual env with:
virtualenv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Set your RESEND_API_KEY environment variable by running:
export RESEND_API_KEY="re_123456789"
- Execute the following command:
python manage.py runserver
- Nagivate to
http://127.0.0.1:8000/
MIT License