Cover your code with tests and validate if emails are sent. Test multiple variables at a time.
Automate Your Email Testing With Mailtrap’s API

Trusted by more than 600k devs, QAs and managers worldwide





How engineers use Mailtrap
-
Integrate your app with Mailtrap SMTP and API
Copy the credentials or grab the ready code available in the inbox settings. Send the first email to Mailtrap’s SMTP server.
-
Run a check in your CI
Use Mailtrap API to validate if an email was indeed sent. Check automatically any other details – headers, attachments, links, etc.
-
Expand your tests
Set up recurring checks and use API to access other Mailtrap features – spam score, HTML check, bcc tracking, and many others.
All-in-one email testing toolset available with your Mailtrap account

HTML Check
Validate the HTML/CSS rules included in your emails template. Gauge the support across popular clients – on web, mobile, and desktop.

QA Automation
Build automated tests of your email sequences and include them in your testing suite. Verify each component of a message with Mailtrap API.

Fake SMTP
Test email sending from your project, and view each message sent in your Mailtrap inbox. Never send your test emails to real users.