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.

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