In automated tests
MailSlurp lets you create real inboxes in tests. These inboxes can have randomly assigned email addresses or specific addresses using custom domains. Inboxes can be disposable or permanent. Any email sent to the inboxes email address will be received by MailSlurp servers and stored in the inbox. You can then fetch emails stored in the inbox whenever you like.
You can also attach webhook listeners, wait until some condition is met, search emails with pattern matching and more. Use MailSlurp to test email related processes in automated integration tests using CypressJS, WebDriver IO, Selenium, Jest and more. Test user sign-up, email verification, lost password resets and anything email related. You can test welcome emails, invoice attachments, HTML spam analysis and more.
The typical integration test uses MailSlurp to create a new disposable inbox with a randomized email address. We use that to sign up a new user. We can then receive a welcome email directly from our tests and extract confirmation codes or validate content. A test might look like this:
In servers and apps
With an online email client
There is a visual dashboard with team access for sending and receiving emails.