Mailjet: How can I use a custom email as sender for my newsletter (Scope-to-Email)?

Mailjet: How can I use a custom email as sender for my newsletter (Scope-to-Email)?

If you plan to send the newsletter from a customer/custom email domain e.g. newsletter@customer-domain.com you need to have the following configurations in place.

  • Access to the Email-Address (that you plan to send from) must be validated

  • The SPF records must be set

  • The DKIM records must be set

The SPF and DKIM settings must be set in the DNS settings of the (sending) domain. Please consult with your IT department.

Domain/Email Validation

We need a valid email address on this domain and the recipient of the email must forward this Email to Scope. We will take care of the rest.

SPF

You need to either add an SPF entry or add "include:spf.mailjet.com" to a potentially already existing SPF entry.

Example:

SPF

v=spf1 include:spf.mailjet.com ?all

DKIM

You need to create a new DNS record:

mailjet._domainkey.YOURDOMAIN.TLD. (adapted to your domain!)

with a TXT value similar to the one below. You will get your domain specific value from Scope.

DKIM

k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDfakyc87w+y+ptDL6duC02Y/FyfJnLw5xFcvuVYsnhVPM6s25JB+Jaiz0e5T+e754cRwsTmA5yxFMu0YUwPgZI6B3j/7P79g1V27/x71rXE6h2l5WWwpMaZdkX9krGDFxLkfnCj9+xZyJ7mptPjLk6Nmk60GQyJk2G8FZ7vIi2ewIDAQAB

Validating the Entries

DKIM

For DKIM it is important that the DNS TXT record is set for mailjet._domainkey.YOURDOMAIN.TLD

Please replace YOURDOMAIN.TLD with the domain you want to send emails from.

In the example of the domain thescope.com the following command / result indicates a valid configuration:



reto@computer:~ ⇒ dig -t TXT mailjet._domainkey.thescope.com +noall +answer ; <<>> DiG 9.10.6 <<>> -t TXT mailjet._domainkey.thescope.com +noall +answer ;; global options: +cmd mailjet._domainkey.thescope.com. 300 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrLHiExVd55zd/IQ/J/mRwSRMAocV/hMB3jXwaHH36d9NaVynQFYV8NaWi69c1veUtRzGt7yAioXqLj7Z4TeEUoOLgrKsn8YnckGs9i3B3tVFB+Ch/4mPhXWiNfNdynHWBcPcbJ8kjEQ2U8y78dHZj1YeRXXVvWob2OaKynO8/lQIDAQAB;"



SPF

For SPF it is important that the DNS TXT record is set for YOURDOMAIN.TLD

Please replace YOURDOMAIN.TLD with the domain you want to send emails from.

In the Example of the domain thescope.com the following command / result indicates a valid configuration:

Details: It's likely that there are other TXT records, that's fine, they are omitted here and, more importantly, it's possible that other domains are included as well and that the "all" settings are configured differently



reto@computer:~ ⇒ dig -t TXT thescope.com +noall +answer ; <<>> DiG 9.10.6 <<>> -t TXT thescope.com +noall +answer ;; global options: +cmd thescope.com. 300 IN TXT "v=spf1 include:spf.mailjet.com ~all"

Further Details


https://documentation.mailjet.com/hc/en-us/articles/360042412734-Authenticating-Domains-with-SPF-DKIM