Sandbox Environment
The Mailtarget account in sandbox environment is equipped with preconfigured records for the default domain name and sender. You can utilize [email protected]
as the designated domain for sending emails within the sandbox environment without requiring any further adjustments or configurations.
Production Environment
The Mailtarget account in production environment has the ability to set up sending domains for subaccounts or primary accounts through the application or the sending domains API by including the X-MT-ATTR HTTP header.
When a sending domain is created, it will be linked to the specified subaccount mentioned in the X-MT-ATTR HTTP header (API) or the subaccount field in the application. If the header is not included in the API call, the sending domain will be associated with the primary account instead.
Sending domains are used to indicate the sender of an email through the 'From' header.
How To Add Sending Domain
In order to add your sending domain to the Mailtarget, you must open the Configuration > Domain > Sending Domain menu then click Add Domain button and fill your domain name.
After filling the domain name, you can assign the domain into primary account or subaccounts, then click Add Domain button
Sending domain status will be unverified by default, you need to verify by adding the following records into your DNS Managers.
For SPF:
Create a TXT record named yourdomainname with value v=spf1 include:spf.mailtarget.co ~all
In some DNS Managers you might be able to add SPF records directly without having to go through TXT. Thats because there are some DNS Managers that provide SPF records directly, some are just TXT. So, if your DNS Manager only provides TXT records, then you need to add SPF via TXT. If your DNS Manager provides SPF records, then you can add them directly through the SPF records.
Don’t make more than one TXT for SPF. However, you can add additional records in one configuration. In some cases, we need an additional configuration if indeed your domain has an additional configuration, like your domain that uses IPv4, A records and MX records. If you really need to install the configuration, add a record like the following
v=spf1 ip4: xxx.xxx.xxx.xxx +a +mx include:spf.(yourdomain).com include:spf.mailtarget.co ~all
.This is an example of a TXT record for an incorrect SPF:
v=spf1 include:spf.mailtarget.co ~all include:spf.(yourdomain).com ~all
So make sure the TXT record is only one line like the example above.
For DKIM:
Create a TXT record mt1._domainkey.yourdomainname and copy the value which is shown below.
Please wait approximately once every 24 hours so that your domain can propagate properly
After your domain has been propagated properly, check the I have completed the setup then click Verify Domain button.
Also, you can delete your domain by clicking the Delete Domain button if you need to.
Domain status will change into Verified and the next step you need is to generate your API Key before you can send your first emails.
What If Your Sending Domain is Blocked?
If your domain’s status is shown as Blocked, it usually means:
Your domain is already being used by another account,
Your domain has previously been blocked due to abuse or policy violations, or
One or more domain or website requirements have not been met.
To resolve this, please ensure the following:
Domain Requirements
Ownership or Admin Access
You must own or have administrative control over the domain. This will be verified through our Sending Domain Verification process.Unique Organizational Domain per Account
A domain (e.g.yourdomain.com
) cannot be shared across multiple accounts.
For example,mail.yourdomain.com
andalert.yourdomain.com
cannot belong to two different Mailtarget accounts.
Website Requirements
Your sending domain must be linked to a live and working website accessible via:
http://<sending-domain>
http://www.<canonical-domain>
Note: The canonical domain is the main domain name (e.g. yourdomain.com
) without any subdomains.
Your website must meet these conditions:
Not under construction or a holding/placeholder page.
Includes a privacy policy that explains how you handle customer data.
Does not contain content that violates our Messaging Policy.
Is hosted in the same country as your Mailtarget account registration.
Need Re-Evaluation?
After fixing the issues or updating your domain/website, you can submit a support request to request a review and possible unblocking.