Sandbox - FAQs
General questions
- How to integrate Email Sandbox with my application?
- Do you need to view Sandbox emails only through its interface?
- How does Email Sandbox render emails?
- Can Email Sandbox show what emails look like in various email clients?
- What does Sandbox do with the <style> tag?
- What does Sandbox do with the <script> tag?
- Can I use Email Sandbox as a /dev/null SMTP server?
- What is the email size limit for Sandbox?
- What is the Testing rate limit for the sandbox?
- What is the monthly messages limit for Email Sandbox?
- How much does Email Sandbox cost?
I have a technical problem
General questions
How do I integrate Email Sandbox with my application?
The integration is very simple and takes just a couple of minutes:
- Sign up by creating a free account.
- Go to My sandbox in the My Sandboxes project.
- Copy a code sample for your framework from the Integrations section or copy credentials provided in the SMTP Settings section.
- Embed them into your app code in development, QA, or staging environment.
Alternatively, you can send messages from your email client or another application to your Mailtrap sandbox using its email address. You will find it in the Email Address tab in your sandbox. It works the same as any other email address - just don't forget to enable it by clicking the Enable icon in the three-dots menu.
Do you need to view Sandbox emails only through its interface?
You should not necessarily stick to Mailtrap web interface. Instead, you can forward every single email to your or a teammate's mailbox.
You can even enable automatic forwarding, and Mailtrap will act as a proxy between your application and your email client. In this case, you can be sure you won't miss important messages from the QA environment, such as exception notifications.
Read the Email Forwarding article for more details.
How does Email Sandbox render emails?
Sandbox renders emails in the same way browsers do, which means no additional stylesheet or CSS presets are applied by default.
Can Email Sandbox show what emails look like in various email clients?
Mailtrap is compatible with web email clients.
Mailtrap does not show exactly how an email will look like in any email client. It renders HTML as-is, without external CSS styles.
Also, Mailtrap provides HTML checks and demonstrates potential errors that different email clients may experience when rendering an HTML email. But note that you can get a preview of test emails for different devices - mobile, tablet, desktop.
You can also forward emails to Outlook, Thunderbird, etc., and use these desktop clients to view them.
What does Sandbox do with the <style> tag?
Sandbox doesn't rip the style tag out of the email templates.
What does Sandbox do with the <script> tag?
For enhanced security, Sandbox removes all <script> tags from HTML.
Can I use Email Sandbox as a /dev/null SMTP server?
The main goal of Sandbox is to help you test emails, and /dev/null is not part of it.
Should you need /dev/null SMTP server, please use the following built-in Python SMTP server:
$ python -m smtpd -nc DebuggingServer localhost:2525 > /dev/null.
Learn how exactly Sandbox can help you streamline email testing processes from our case study with The Software House.
What is the email size limit for Sandbox?
The maximum size of an email including attachments for Sandbox ranges from 5 MB to 25 MB. It depends on your subscription plan. If your message exceeds this limit, you will get the following error: '552 5.3.4 Error: message too big'.
What is the Testing rate limit for the sandbox?
It's the number of emails you can send to each of your sandboxes every 10 seconds. The rate limit depends on the subscription plan. For more details, check out the Pricing page.
What is the monthly messages limit for Email Sandbox?
It's the maximum number of emails you can test and get in all your sandboxes per month. The total emails per month limit depends on the subscription plan. For more details, check the Pricing page.
If you reach your monthly limit, you'll receive the SMTP protocol error: "535 5.7.0 Monthly messages limit reached". We also send out notifications for having used 80%, 90%, and 100% of the monthly limit.
To continue testing when you're over the limit, please upgrade your subscription plan. Alternatively, you can wait until the next billing period starts, when the limit is reset.
How much does Email Sandbox cost?
Email Sandbox provides a free subscription plan for new users who want to evaluate it.
For larger teams, we offer sets of features within several paid subscription plans, starting from $17/month.
To choose one that best fits your needs, check our pricing plans at here.
I have a technical problem
My sandboxes disappeared
Sandboxes that are shared with you are moved to the top right menu. Switch to the shared account by clicking on its name.
I have a problem integrating Sandbox with my app, what should I do?
Please send us an email at support@mailtrap.io describing the issue; we'll try to help you ASAP.