Cover your code with tests and validate if emails are sent. Test multiple variables at a time.
Automate your email testing with Testing API
Trusted by 150,000+ monthly active users
How devs use Testing API
-
Integrate your app with Mailtrap SMTP and API
Copy the credentials or grab the ready code available in the sandbox settings. Send the first email to fake SMTP server.
-
Run a check in your CI
Use 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 Testing features – spam score, HTML check, bcc tracking, and more.
Email testing toolset available with sandbox
HTML Checker
Validate the HTML/CSS rules included in your emails template. Gauge the support across popular clients – on web, mobile, and desktop.
Device Previews
See how your email renders on real devices and clients. Add a visual check to the headers, HTML, and spam score your tests already cover.
Fake SMTP
Test email sending from your project and view each email sent in your Testing sandbox. Never send a thing to recipients’ inboxes.