Email Sandbox

Learn how to inspect and debug emails with sandbox functionality.

What you can do:

  1. Catch testing emails from staging.

  2. Preview and analyze content for spam.

  3. Validate HTML/CSS before sending emails.

Good to know

  • Your emails won't reach your users as you use our Sandbox SMTP.

  • You don't need to verify a domain to use sandbox.

Overview

1

Navigate to Email Sandbox

Go to your first Sandbox by clicking Sandboxes, then My Sandbox.

Sandboxes page showing My Project with My Inbox sandbox highlighted

By default, we created an sandbox for you and called it "My Sandbox". The Edit button on the far right allows you to rename either a project or a sandbox.

Once inside My Sandbox, copy the credentials from the Integration tab to your clipboard.

Integration tab showing SMTP credentials including host, port, username, password and auth settings

Or, use one of the pre-made code snippets for major programming languages and frameworks:

Code Samples section with PHP framework dropdown showing CakePHP, Laravel, Symfony and other options
2

Send your first test email

After sending the first test email, you can immediately find it in your Mailtrap sandbox.

Test email displayed in Mailtrap sandbox inbox

Click on the email, and proceed to inspect and debug it by selecting the HTML Check tab.

HTML Check tab showing email validation results

Lastly, you can automate the QA flow with API if you need it.

3

Bonus: Invite your colleagues

Mailtrap is a collaborative tool. Starting from the Team Plan, you can create different sandboxes and projects and share them with your colleagues.

This allows you to organize all testing-related workflows among different people, from user management with different permissions to SSO.

What else you can do with Email Sandbox

Last updated

Was this helpful?