Videos
Check out our tutorial video series.
How to fetch and parse emails and attachments in tests or code using MailSlurp email APIs, SMTP libraries, GraphQL and more.
For full documentation please see the receiving email guide.
To read emails in code or tests the first step is to create an email address than can receive emails.
Either use the SMTP settings with any SMTP client as shown below:
Or use one of many developer toolkits including the recommended NPM client.
Import the client:
Then setup the client with an API Key.
Create an email address with a randomly assigned address:
Once you have created an inbox send an email to it from your own email client, using the SDK client, or using the MailSlurp dashboard.
Check out our tutorial video series.
Email and SMS guides for automation and testing.
View github project code for multiple languages.
Latest posts from the MailSlurp team.
Test, build, and automate messaging with a free MailSlurp account.