Use smtplib to send email.
- Language: Python v3.19
copy .env.example and rename as .env
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_ADDRESS=fromemail@gmail.com
EMAIL_PASSWORD=yourpassword
EMAIL_RECIPIENTS=toemail1@gmail.com,toemail2@gmail.com
EMAIL_SUBJECT="Test Email"
EMAIL_BODY="This is a test email."
python send-email-smtp.py
docker-compose up --build