Skip to content

Python example of testing Email via SMTP against the MailHog email testing tool

License

Notifications You must be signed in to change notification settings

marshallmcdonnell/smtp_mailhog_testing

Repository files navigation

CI License
Build Status License: GPL v3

smtp_mailhog_testing

Working examples of testing a Python mail client using SMTP (using smtplib with the MailHog Web and API SMTP testing utility

To test

  1. Install docker-comopse and pipenv
  2. Install via: pipenv install --dev
  3. Spin up services: docker-compose up
  4. Run tests: docker-compose run mail-client pytest
  5. Spin down services: docker-compose down

Tutorial

Excellent RealPython tutorial for sending emails with Python

About

Python example of testing Email via SMTP against the MailHog email testing tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published