Test automation for testing email flow

Hello all,

I would like to automate the testing of our email flow through an appliance in a lab which isn’t connected to the internet.

For manual testing, I stand up a small mail server on either side of the appliance and use these to send/receive emails.

Does anyone know of a lightweight email server which I can receive emails via script? Or have a better automation technique which I should be looking at instead to accomplish this goal?


I’ve worked with a few with automation. In general soemthing lightweight that your application can be configured to use instead of a “real email server” on the web.

I’ve had good results with Mailhog and MailDev. I could access the emails via API calls in automated scripts, and use the UI for exploration.

1 Like