Send confirmation emails to newly registered users with Flask, Redis Queue, and Amazon SES
Check out the article.
-
Fork/Clone
-
Sign up for AWS (if necessary), verify an email for SES, and update the following environment variables for the
worker
service in docker-compose.yml:- SES_REGION=us-east-2 - SES_EMAIL_SOURCE=your_email - AWS_ACCESS_KEY_ID=your_access_key_id - AWS_SECRET_ACCESS_KEY=your_secret_access_key
-
Spin up the containers and update the database:
$ docker compose up -d --build $ docker compose run users python manage.py create_db
-
Open your browser to http://localhost:5003 to view the app.