CI | License |
---|---|
Working examples of testing a Python mail client using SMTP (using smtplib with the MailHog Web and API SMTP testing utility
- Install docker-comopse and pipenv
- Install via:
pipenv install --dev
- Spin up services:
docker-compose up
- Run tests:
docker-compose run mail-client pytest
- Spin down services:
docker-compose down
Excellent RealPython tutorial for sending emails with Python