Reputation: 717
I'm writing a set of black box tests for my application. I'm using smtplib for sending the emails, and I want to test whether emails are being sent/received properly.
Any ideas on how to do that in python?
Upvotes: 2
Views: 6403
Reputation: 4289
you can use mailhog,
you can run it locally using the docker image
Upvotes: 0
Reputation: 14701
Use one of the following to test that your emails are sent.