I need to test that an email has been received and preferably have the ablity to access the mailbox by a rest api. Im looking for an open source solution that i can install which will give me a local email address then i will get the application to send the email to the address where i can validate that it was received. Any ideas on solutions that can be used for the full end to end testing of emails would be appreciated. I know there are some internet based solutions out there but being a test environment the preference would be for a local solution.
Thanks
There is smtp4dev to emulate received email. It listens port 25 but you can setup another port number.
Alternatively, you can use papercut.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With