Provider guide · Mailjet

Send WordPress email through Mailjet.

Mailjet authenticates WordPress with its API key pair, not with your dashboard login, and refuses any sender address you have not validated first. Both rules are simple; both produce cryptic errors when missed. Here is the short version.

Settings · Custom SMTP Mailjet preset
  • PresetMailjet
  • SMTP hostin-v3.mailjet.com
  • Port587
  • EncryptionTLS
  • Usernameyour API Key
  • Passwordyour Secret Key

Official Mailjet SMTP documentation

1 · Credentials

The Mailjet setup:
the key pair, then the sender.

Mailjet gives every account an API Key and a Secret Key, and SMTP borrows exactly that pair. Your dashboard email and password stay out of it.

STEP 01

Open the SMTP settings page

In Mailjet, open your account menu, then the SMTP and SEND API settings page. It shows the server, the ports, and both keys.

STEP 02

Copy the API Key

It is public-ish and always visible.

STEP 03

Copy the Secret Key

Newer accounts display it once at creation. If it is lost, reset it from the API Key Management page, and remember every integration using the old secret stops at that moment.

STEP 04

Validate your sender

Under Sender domains & addresses: either confirm a single address by email, or validate the whole domain and add the SPF and DKIM records Mailjet provides, the option that scales past one address.

2 · In the plugin

The Mailjet settings:
the API Key is the username.

Selecting the Mailjet preset fills the server (in-v3.mailjet.com), the port (587) and the encryption (TLS). What remains is yours.

FIELD 01

Username

The API Key.

FIELD 02

Password

The Secret Key.

FIELD 03

From email

A validated sender address, or any address on a validated domain.

Save, then use Send Test Email. If authentication passes but the send is refused, the phrase to look for in the log is “relay access denied”, and it means the From address, not the credentials.

3 · Pitfalls

Mailjet errors
and pitfalls.

Mailjet’s errors are accurate once translated; these are the three worth knowing before they happen.

“Relay access denied” means the sender, not the password

This error reads like an authentication failure, and it is not one. It is Mailjet declining to send from an address you never validated. Add the address, or its whole domain, under Sender domains & addresses, complete the validation, and the same configuration starts working without touching a credential.

Resetting the Secret Key logs out every integration

The Secret Key is shared by everything that sends through your account. Reset it to fix one forgotten value and any other tool using the old secret starts failing at the same minute. Reset deliberately, then update WordPress and whatever else authenticates with it in one sitting.

The free plan has two ceilings

Free accounts get about 200 emails a day within 6,000 a month, and Mailjet adds its logo to the footer of free-plan emails. Fine for trying it out; for a production shop, the daily cap and the branded footer are usually the two reasons to move to a paid tier. The plugin’s volume alerts can warn you as you approach the daily number.