Email API and SMTP

General questions

I have a technical problem

General questions

What is Mailtrap?

Mailtrap is an email delivery service to send transactional and promo emails. Popular among developer and product teams for it's Email API and SMTP solutions.

How do I integrate Mailtrap Email Sending with my application?

  1. Sign up by creating a free account.
  2. Go to Email Sending and select Sending Domains.
  3. After you've added and verified all the DNS records, wait for the Compliance Check to be completed. 
  4. Proceed to integrate Mailtrap with your application via SMTP or API.

If you have any questions, contact us at support@mailtrap.io.

Can I send emails without my domain?

No, you can't.

To send emails, Mailtrap requires you to add a sending domain, authenticated and verified using the DNS records Mailtrap provides.

Can I send emails on behalf of other domains?

No, you can’t.

If you verified mydomain.com, you can send emails only on behalf of your domain.

Should I use my domain name with www. ?

No, you should use your domain without it.

Please check our Knowledge Base article on setting up a domain.

Can I receive emails with Mailtrap?

Right now, Mailtrap doesn't provide MX records to catch inbound emails, so they'll bounce.

Another option is to use a real email address in the "reply-to" field if a recipient replies to your email.

When I add a domain to Mailtrap, does that include subdomains?

No, you need to add and verify each subdomain/domain separately.

How Mailtrap billing works?

We bill each email. For example, if an email has 3 recipients - we bill 3 of them. If it has + 3 in CC, we bill 6 together. The same goes for recipients in BCC. 

What is the email size limit?

The maximum size of an email with attachments for Mailtrap is 10 MB. Upon request, we can extend the limit in some cases to 30 MB

What is the monthly message limit for email sending?

It's the maximum number of emails you can send with Mailtrap per month. The total number of emails per month 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 sending 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.

Is it possible to export Email logs?

Right now, it’s not possible, but there's a workaround.

You can set up Webhooks to automatically collect logs. And you can use a tool like Zapier, for example, to create a spreadsheet from your webhooks.

Does Mailtrap comply with the GDPR?

The General Data Protection Regulation (GDPR) came into effect on May 25, 2018. We have implemented appropriate technical and security processes to ensure Mailtrap's full compliance with this regulation. For more details, refer to our Privacy Policy, Navigational Information, and Data Protection Agreement.

Do you have a bug bounty program?

We do not. In case you have found a vulnerability on our website that you are eager to report to us, you are welcome to do so at support@mailtrap.io. All issue reporters will be mentioned on our changelog page.

How much does Mailtrap cost?

Mailtrap plans starts from 15$ for 10,000 emails/month. We offer plans for business from $85/month for 100,000 emails, and, for enterprises, there are plans from $750/month for 1,500,000 emails. 

To choose one that best fits your needs, check out our pricing plans.

Can I send emails to end-users with Mailtrap?

Yes, you can. Mailtrap is an email delivery service to send transactional and promo emails. Popular among developer and product teams for it's Email API and SMTP solutions.

Can I force an encrypted connection?

Yes, you can enforce encrypted connections. Mailtrap SMTP server uses STARTTLS, which works for all SMTP ports. We support only TLS connections because of the POODLE vulnerability (SSLv2 and SSLv3 are disabled).

I would like to whitelist live.smtp.mailtrap.io on my firewall. What is Mailtrap's IP range?

We use AWS with auto-balancing, so our IP ranges are the following: https://ip-ranges.amazonaws.com/ip-ranges.json

I have a technical problem

Visit the troubleshooting section for the answers to the most common problems, or contact our support

I have a problem integrating Mailtrap Email Sending with my app; what should I do?

Please email us at support@mailtrap.io describing the issue; we'll try to help you ASAP.

I'm getting an "Unauthorised" error (401 code)

There are several reasons why you might be getting the "Unauthorised" error. Here's what to check:

  • Make sure you're sending from the domain that you've set up and verified. Using any other domain will result in the given error.
  • If you've configured a custom token for your domain - make sure it has proper permissions to send emails.
  • Make sure you're using the correct SMTP/API credentials provided in the Integration tab of your domain.
Transactional stream SMTP credentials
Bulk stream SMTP credentials
  • Use the cURL code example to see if you can replicate the error. Here's the path to the exemplary code:

    Sending Domains > Integration > Integrate (under Transactional or Bulk Stream) > Code Samples > cURL.

Transactional stream cURL
Bulk stream cURL
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us