# WordPress

Send WordPress's mail through Sendora's SMTP, with WP Mail SMTP, FluentSMTP or Post SMTP.

Send the mail that WordPress writes, such as password resets and the mail of form and shop plugins, through Sendora's SMTP. WordPress needs a plugin to send over SMTP. This guide sets up the Other SMTP option of WP Mail SMTP, FluentSMTP or Post SMTP. Use only one of them, since each takes over how WordPress sends mail.

## Before you start

- A Sendora account. A test server works from the moment the account exists. A live server sends once your account is approved. The account starts on Free, within the [limits](https://sendora.se/docs/limits#the-free-tier) that [Account › Usage](https://app.sendora.se/account/usage) in the dashboard shows.
- Access to the DNS of the domain that WordPress's mail comes from.
- An administrator's access to WordPress, with one of the three plugins installed and activated under **Plugins** › **Add Plugin**.

## Set up Sendora

1. Add the domain that WordPress's mail comes from under [Domains](https://app.sendora.se/domains), and add the two DNS records it shows, as [Domains](https://sendora.se/docs/domains) explains.
2. Create a test server under [Servers › New server](https://app.sendora.se/servers/new), with **Testserver** ticked, and create a key on its **API keys** tab. The key starts with `sk_test_`. A [test server](https://sendora.se/docs/test-servers) takes mail as a live server does and delivers none of it.

## Set up the plugin

In each plugin, switch on **Force From Email**, so that every email WordPress sends comes from your verified domain. Without it, an email from a plugin that sets a From address on another domain fails with `550 5.7.1`. Leave the plugin's return-path setting as it is. Sendora sets the envelope sender itself, so that bounces reach it.

### WP Mail SMTP

1. Open **WP Mail SMTP** › **Settings**. Under **Mailer**, choose **Other SMTP**, and enter Sendora's values:

| Field            | Value                                                             |
| ---------------- | ----------------------------------------------------------------- |
| From Email       | An address on your verified domain, such as `no-reply@example.se` |
| Force From Email | On                                                                |
| From Name        | The name your recipients see, such as your site's                 |
| SMTP Host        | `smtp.sendora.se`                                                 |
| Encryption       | **SSL**                                                           |
| SMTP Port        | `465`                                                             |
| Authentication   | On                                                                |
| SMTP Username    | The server key                                                    |
| SMTP Password    | The server key                                                    |

Port 465 encrypts the connection from the first byte. Port 587 works too, with **Encryption** set to **TLS**. If WordPress runs on a host that blocks ports 465 and 587, such as a DigitalOcean Droplet, use port 2525 with **TLS** in the same way.

2. Click **Save Settings**.
3. Open **WP Mail SMTP** › **Tools**. On the **Email Test** tab, enter an address in **Send To**, and click **Send Email**.

WP Mail SMTP then checks your domain's DNS, and may ask you to add an SPF record for your SMTP server. Sendora needs no change to your SPF record, as [Domains](https://sendora.se/docs/domains) says.

### FluentSMTP

1. Open **Settings** › **FluentSMTP**, choose **Other SMTP** as the email service, and enter Sendora's values:

| Field                          | Value                                                             |
| ------------------------------ | ----------------------------------------------------------------- |
| From Email                     | An address on your verified domain, such as `no-reply@example.se` |
| From Name                      | The name your recipients see, such as your site's                 |
| Force From Email (recommended) | Ticked                                                            |
| SMTP Host                      | `smtp.sendora.se`                                                 |
| SMTP Port                      | `465`                                                             |
| Encryption                     | **SSL**                                                           |
| Authentication                 | On                                                                |
| SMTP Username                  | The server key                                                    |
| SMTP Password                  | The server key                                                    |

Port 587 works too, with **Encryption** set to **TLS**. On a host that blocks ports 465 and 587, use port 2525 with **TLS** in the same way.

2. Click **Save Connection Settings**.
3. Click **Send Test Email** at the top of the page. Enter an address in **Send To**, and click **Send Test Email**.

### Post SMTP

1. Open **Post SMTP**, which starts its setup wizard the first time. To start it again later, click **Relaunch the wizard** on Post SMTP's dashboard.
2. Choose **Other SMTP**, click **Continue**, and enter Sendora's values:

| Field            | Value                                                             |
| ---------------- | ----------------------------------------------------------------- |
| From Email       | An address on your verified domain, such as `no-reply@example.se` |
| Force From Email | On                                                                |
| From Name        | The name your recipients see, such as your site's                 |
| Host Name        | `smtp.sendora.se`                                                 |
| Port             | `465`                                                             |
| Username         | The server key                                                    |
| Password         | The server key                                                    |

Use port 465 with Post SMTP. On 465, Post SMTP checks Sendora's certificate. On 587 and 2525, it turns that check off after STARTTLS, so a machine between WordPress and Sendora could pose as Sendora and read the key. [Lines 207 to 209 of its SMTP code](https://plugins.trac.wordpress.org/browser/post-smtp/tags/4.0.4/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php?marks=207-209#L207) do this in 4.0.4, the latest release as of 28 November 2026. The same lines are in every release back to 1.8.5. Sendora tried WP Mail SMTP and FluentSMTP too, and both refused an untrusted certificate on every port. If your host blocks port 465, use one of them instead.

3. Click **Save and Continue**.
4. Enter an address in **Recipient Email Address**, and click **Send Test Email**.

## Check the message and send live

1. Find the test message on the server's **Messages** tab under [Servers](https://app.sendora.se/servers).
2. Once your account is approved, create a key on your live server's **API keys** tab, such as the default server that signup made. Put it in the plugin's user name and password fields in place of the test key, and save.

## If a message is refused

In WP Mail SMTP, a failed test email offers **View Error Log**, which shows Sendora's reply. Its **Debug Events** tab under **Tools** lists the errors of other emails that failed. In FluentSMTP, `SMTP Error: Could not authenticate.` means that Sendora refused the key, and `SMTP Error: Data not accepted.` that it refused the message. FluentSMTP's **Email Logs** keep each email that failed. Post SMTP shows Sendora's reply, such as `5.7.8 Authentication credentials invalid`, and its **Email Log** keeps each email that failed with a transcript.

`535 5.7.8` means the key is wrong or revoked. `550 5.7.1` means the From domain is not verified, or that a live server's account is not yet approved. `451 4.7.0` means that a limit is reached, such as Free's [daily limit](https://sendora.se/docs/limits#the-free-tier). `550 5.1.1` means the recipient's address is on the [suppression list](https://sendora.se/docs/suppressions), for example after a hard bounce. [SMTP replies](https://sendora.se/docs/smtp#smtp-replies) lists every reply.

## Test the setup

On the server's **API keys** tab under [Servers](https://app.sendora.se/servers), **Test the setup** shows each valid key's latest sign-in and accepted message over SMTP. It also shows the key's latest refusals, each with what to do. After WordPress sends a message, click **Check now**.
