Stand with Ukraine 🇺🇦 Donate to support

Safe Email Testing With Mailtrap’s Fake SMTP Server

Test emails safely, with 5-minute setup, zero maintenance, and no risk of spamming real users

Everything you need for your testing environment

Testing environment ready in 5 minutes

Each Mailtrap 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 Mailtrap.

Separate inboxes for each of your environments

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

No real emails are sent

Mailtrap 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 more than 600k devs, QAs and managers worldwide

Capturing emails is easy with Mailtrap

  • Sign up and copy the fake SMTP credentials

    Create a Mailtrap 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 as your SMTP server and trigger for the first email to be sent. After a second or two, it will arrive into your Mailtrap inbox.

  • Check the email content manually or automate the process

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

From our #BestClientEver

Joshua Anderton

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


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

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

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 

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

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

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.

Read More

Mailtrap API

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

Read More

QA Automation

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

Read More