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#.
dotnet add package mailslurp
Configure an inbox in code.
var config = new Configuration(); config.ApiKey.Add("x-api-key", "your_api_key_here"); var apiInstance = new InboxControllerApi(config); var inbox = apiInstance.CreateInbox(); Assert.NotNull(inbox); Assert.Contains("@mailslurp.com", inbox.EmailAddress);
To use MailSlurp in code get a free API Key.
Golang Email Library for sending and receiving emails in Go over SMTP or HTTP/S.
Test email accounts for email testing. Alternatives to Mailinator, MailTrap, Mailosaur and more.
Example tutorial for how to wait until webdriver and Selenium have started during Codeception PHP tests
Generate dynamic email addresses on demand with MailSlurp - a modern email API.
APIs for email marketing and social campaign testing. Send, receive, validate and test emails in code and online.
Test email accounts for testing email addresses in code or online. Create fake email accounts for testing.
Spawn Selenium server process before tests start for easier acceptance testing.
Test email sign-up. password verification and more with Cypress JS and MailSlurp.
Use real email accounts in CypressJS to test user sign-up, email verification, and more.
How to send and receive emails in Go (test email addresses).
Test email sending and receive emails without a mail server.
Testing user sign up in Java using TestNG and MailSlurp test email accounts
Write acceptance tests in PHP with real email addresses using Codeception and MailSlurp
How to send and receive emails in PHPUnit tests.
Send and receive email in Pytest Python tests.
Receive emails in Java test suites using MailSlurp, Junit, and Selenium.
Test email in PHP using real email addresses
Python automation email testing Robotframework plugin
Cucumber example project using Capybara to test user authentication using real email addresses.
Email acceptance testing with Serenity and MailSlurp. Test applications with real email addresses.
How to test .NET authentication and sign-up using real email accounts with MailSlurp and SpecFlow.
Send and receive email in DotNET Nunit tests using Selenium and MailSlurp.
Generate test email accounts with Ruby and Cucumber. Test email sign-up, password verification and more.
Test email related processes like sign-up and verification using WDIO WebDriver and MailSlurp.
End-to-end testing with MailSlurp, NodeJS, and TestCafe.
There are many free tools to test emails before sending. This can help prevent spam warnings and increase deliverability.
Testing OTP password link username and password for 2 factor authentication (2FA)
Free test email address for testing emails online with web dashboard or REST API.
The ultimate guide to testing OAuth one-time-password flows with real SMS MFA. Use Playwright to automate authentication tests with programmable TXT message APIs.
Integration testing with disposable email accounts using CypressJS, Selenium and many other frameworks. Test OTP password login, transactional emails, notifications and more.
Test email accounts for CypressJS. End-to-end testing with real email addresses using MailSlurp Cypress plugin.
How to test HTTP webhooks using MailSlurp test hooks.
Email testing with Cypress JS