# WordPress (SMTP)

> Route WordPress email through MailBlastr over SMTP with the WP Mail SMTP plugin.

WordPress sends mail through PHP's `wp_mail()` by default, which is unreliable. Route it through MailBlastr over SMTP using the [WP Mail SMTP](https://wordpress.org/plugins/wp-mail-smtp/) plugin so every site email — password resets, form notifications, WooCommerce receipts — is delivered and tracked in your MailBlastr dashboard.

## Prerequisites

- A MailBlastr [API key](https://www.mailblastr.com/docs/api-keys/overview).
- A [verified domain](https://www.mailblastr.com/docs/domains/managing) to send from.

## 1. Install a plugin

Install and activate the [WP Mail SMTP](https://wordpress.org/plugins/wp-mail-smtp/) plugin. When the setup wizard appears you can skip it — click **Go to the Dashboard** at the bottom of the screen — and we'll configure the plugin manually below.

## 2. Configuration

From your admin dashboard, open **WP Mail SMTP > Settings**. First set your **From Email** (an address on your verified domain), **From Name**, and **Return Path**. Then, in the **Mailer** section, select **Other SMTP**.

In the **Other SMTP** section, configure the following settings:

| Setting | Value |
| --- | --- |
| SMTP Host | `smtp.mailblastr.com` |
| Encryption | `SSL` |
| SMTP Port | `465` |
| Auto TLS | `ON` |
| Authentication | `ON` |
| SMTP Username | `mailblastr` |
| SMTP Password | Your API key, e.g. `mb_xxxxxxxxx` |

> **Note:** Prefer STARTTLS? Set **Encryption** to `TLS` and **SMTP Port** to `587`. Replace the password with an existing API key or create a new one on the [API keys](https://www.mailblastr.com/docs/api-keys/overview) page.

## 3. Send a test email

Open **WP Mail SMTP > Tools** and send a test email to confirm the integration works. A successful send appears in your MailBlastr [emails dashboard](https://www.mailblastr.com/docs/emails/managing).

> **Warning:** The **From Email** must be on a domain you have verified in MailBlastr, otherwise the send will be rejected.
