Domain Setup
Set up your domain in Mailtrap. Add DNS records, verify SPF/DKIM/DMARC, pass compliance, and start sending emails in minutes.
Need help adding DNS records for your specific provider? Check out our detailed step-by-step guides:
Setting up your domain
Add domain
Go to Domains in the left navigation panel and click Add Domain.
Type in the domain from which you want to send emails and click Add. Remember that you should be the domain owner with access to its DNS records/have someone with access to DNS records.
After this step, you’ll see the Domain Verification page.
Domain verification
At this stage, you need to verify the domain. You have two options:
Send domain verification instructions to your admin or developer;
Or verify the domain yourself if you have access to your domain’s DNS records (your domain provider account).
Sender information
After adding your DNS records, complete the Sender information form where you’ll be asked to provide either business or personal information.
Please keep in mind that it’s crucial to provide correct information corresponding to your company registration details. It is important in order to comply with international regulations. This information may also be automatically added to the email footer of promotional emails sent from your domain.
You can switch between personal and business information only once, meaning that you cannot change it after the form is submitted.
Compliance check
Compliance check is a process of checking every new domain added to Mailtrap.
Once all the DNS records are successfully verified, your domain will undergo an automatic review. This usually takes a couple of minutes. If your domain is verified at this stage, you’ll see the Verified badge next to your domain and below Compliance Check, and you’ll be able to start sending the emails. You’ll also receive an email informing you that your domain is ready for sending emails.
Some domains may be selected for additional checks. If so, we’ll ask you to fill out a simple Compliance Form and answer a few questions about your business, sending goals, etc. You’ll see a notification under Compliance Check and a link to the form.
We’ll email you if we need additional information from you. If all the checks are successful at this stage, your domain will be verified.
In some cases, your domain may be selected for manual verification. This is the final check before your domain is verified. The length of the manual verification depends on how fast you reply to our emails. If successful, you'll see Verified status. If not, you'll see a Rejected badge next to your domain and a message under Compliance Check. In case of any questions about the reasons for rejection, please contact our support team at support@mailtrap.io.

To verify the domain yourself
Go to your domain provider and locate the domain you've added to Mailtrap.

Open the DNS settings and click Add New Record.

Return to Mailtrap. On the Domain Verification page, you'll see the DNS records you need to add to your domain provider. These are Domain Verification, DKIM, DMARC, and Domain Tracking. You'll need the values under Type, Name, and Value. The naming of these records in Mailtrap is the same as in most domain providers but may differ slightly depending on the provider.

Make sure you check the type next to each record in Mailtrap and choose a relevant one in your domain provider. There are four CNAME type records (Domain Verification, DKIM (2), and Custom Tracking Domain) and one TXT type record (DMARC).


Copy the Name and Value for each record one by one. You can do this by hovering and clicking each record.

Paste them into your domain provider.

Click Save after adding each record in your domain provider.
Repeat the process of copying and pasting for each record until you've added all the Mailtrap DNS records to your domain provider.

Then, return to Mailtrap. Some records may be verified immediately, while some may take more time. Mailtrap will check the DNS records automatically every hour, but you can force a check by clicking the Re-check DNS Records button.

If you add all the required DNS records correctly, the Status of DNS records will change from Missing to Verified, and the red dots will turn green.

Once the DNS records are verified, you’ll be taken to the next step, which is Compliance Check.
Notes:
Some domain providers require a postfix format of the DKIM record. If that’s the case, replace
rwmt1._domainkeywithrwmt1._domainkey.yourdomain.com. Repeat the process forrwmt2._domainkey, changing the name torwmt2._domainkey.yourdomain.com.If you’re asked to set TTL, use the default value as indicated under the TTL field on the Domain Verification page in Mailtrap.
DNS propagation time
After you add or update DNS records, it may take 15 minutes to a few hours for Mailtrap to detect them.
DNS changes are not applied instantly because:
DNS records are cached by DNS resolvers according to their TTL (Time To Live).
There are multiple DNS servers worldwide, and updates need time to propagate across them.
Even if you can see the updated record using one DNS checker or resolver, it doesn’t necessarily mean that Mailtrap (or other services) can already resolve it from their location.
In most cases, propagation completes within a few hours, but in rare cases it may take up to 24 hours.
How to check if your DNS records have propagated
To check if your DNS records have propagated, you have two options:
If the record appears across multiple public resolvers, it should soon be visible to Mailtrap as well.
If the records are correctly configured and still not verified after several hours, double-check:
Record type (TXT, CNAME, MX, etc.)
Host/name field (e.g., using
selector._domainkeyinstead of the full domain)That there are no duplicate or conflicting records
If everything looks correct, please allow additional time for propagation before contacting support.
Useful tips
After completing the setup process, you can always return to the Domains tab to add any additional domains or subdomains. If you, for example, misspelled a domain, you’ll need to delete it and re-add it with the correct spelling.

Remember that the domain with the Demo badge can be used to send emails only to the email address you registered with.

You can send emails to your recipients only from domains that have a Verified status. If the status is Pending or Rejected, you won't be able to send emails.

From the Domains menu, you can also delete the domains, subdomains, or the demo domain you no longer use. Just press the bin icon next to the domain. This will remove the domain from the list, and you won't be able to send any further emails until you add and verify it again.

Note that removing a domain won't remove it from your Mailtrap account completely. It will still appear, for example, in analytics, and will be displayed with the (deleted) suffix, just like in the example below:

We do this to preserve your historical stats that would otherwise be lost.
Last updated
Was this helpful?



