Skip to main content

How to Set Up Mailjet Email Delivery in WordPress

Mailjet is an email delivery and marketing service from Sinch. It uses a key pair instead of a single API key. LetterPress sends through the Mailjet v3.1 Send API.

Before you begin​

  • A Mailjet account.
  • A verified sender address or domain.
  • The API key and secret key from Mailjet.

Step 1: Verify your sender​

  1. Sign in to Mailjet.
  2. Open Senders & Domains.
  3. Add your domain, or add a single sender address.
  4. Add the DNS records Mailjet shows.
  5. Wait for verification.

Domain verification is better for a live site. It enables DKIM and avoids sender rewriting.

Step 2: Get the API key pair​

  1. Open Account Settings > API Key Management.
  2. Copy the API Key and Secret Key.

The API key is public and the secret key is private. Treat the secret key like a password.

Step 3: Enter the details in LetterPress​

  1. Open Settings > Email providers.
  2. Select Mailjet.
  3. Paste the API key.
  4. Paste the secret key.
  5. Save changes. Set this provider as default if the button is shown. Then click Test connection.

Step 4: Set the sender and test​

Open Settings > Sender identity and set From email to the verified sender or a domain address.

Click Send test email. Then send a test email from Settings > Sender identity.

Common problems​

ProblemWhat to check
401 UnauthorizedThe key pair is wrong, or the secret key was copied instead of the API key.
400 sender not validatedThe From address is not a verified sender.
429 Too Many RequestsThe plan limit or rate limit was reached.
Messages are accepted but not deliveredCheck Mailjet's logs for a bounce or a blocked recipient.
Mail goes to the spam folderVerify the domain and add SPF, DKIM, and DMARC.

Next steps​