Safe email testing with Fake SMTP Server

Test emails safely, with 5-minute setup, zero maintenance, and no risk of spamming recipients’ inboxes

Everything you need for your testing environment

Testing environment ready in 5 minutes

Each Email Testing account comes with an individual testing environment. Integrate it with your app in just a few clicks.

Simple UI for your fake email server

No experience with setting up SMTP server required. Paste the credentials into your app to capture and view the emails in sandbox.

Separate inboxes for each of your environments

Create individual inboxes for different environments or review servers. Or route all emails into one inbox if you prefer.

No real emails are sent

Email Testing doesn’t connect to mail servers and captures all emails into a virtual inbox. There’s zero chance of accidentally emailing your users.

Use fake SMTP with any tool

Mailtrap can be integrated with any tool that supports SMTP. Use fake SMTP credentials in external tools to test what’s sent on your behalf.

Ditch maintaining your infrastructure

Say farewell to downtimes, upgrades or performance monitoring. We take care of them for you with 99,9%+ uptime.

Trusted by 150,000+ monthly active users

Capturing emails is easy with Fake SMTP Server

  • Sign up and copy the fake SMTP credentials

    Create an account and open the configuration of your testing environment. Copy the credentials or grab the ready code available for 20+ frameworks and libraries

  • Integrate your app and send the first email

    Add Mailtrap Email Testing as your SMTP server and trigger the first email to be sent. After a second or two, it will arrive into your Testing inbox.

  • Check the email content manually or automate the process

    Preview the email, check its HTML, spam score or raw headers. Use Testing API to do all of these automatically.

From our #BestClientsEver

Joshua Anderton

@joshuaanderton
Just signed up for @Mailtrap and I’m loving it. So easy to set up. Provides so much peace of mind. Ahh just love it.
7:38 PM – Jan 13, 2021

DeveloperMitch

@mitchellfinlay
After all these years of web development, how have I only JUST started using @Mailtrap. I had heard about it, but never got round to using it. An awesome way of testing emails.
1:25 PM – Nov 07, 2020

Alessandro Rodi

@coorasse
I love @Mailtrap. It removes all the asshole of configuring email servers in test environments. Great service! Is totally worth your money!
1:15 PM – Oct 20, 2020

Mr. Glass

@MisterGlass
Shout out to @Mailtrap, hands down the best way to handle mail sending in local/test environments.
11:43 PM – May 21, 2020

Rado Georgiev 

@Rado_g
One thing we started using recently is @Mailtrap for our dev & staging environments. We were previously either turning email sending entirely off for staging or running SES + whitelist. Turns out, having a fake SMTP mailbox is great and you can test better with it.
1:32 PM – Jan 06, 2021

Doug Black Jr

@dougblackjr
Can we all agree @Mailtrap is a gift to developers everywhere? It just works SO easily out of the box!!!!
9:45 PM – Aug 11, 2020

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.

Learn More

Testing API

Automate email testing with a flexible and well-documented API. Save time and be the first to know when something goes wrong.

Learn More

QA Automation

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

Learn More