There are many instances in which test email addresses are required: testing email campaigns; software development; and QA testing. MailSlurp is a free service for creating test email accounts that can send and receive emails from real addresses.

Create a free MailSlurp account

You can sign up for MailSlurp and then create an inbox.

The inbox has an email address that can send and receive emails.

Access the inbox in code

MailSlurp can be controlled programmatically using the REST API or SDK clients in many languages. Here is a short example in C#.

Configure an inbox in code.

To use MailSlurp in code get a free API Key.