---
title: "Send WordPress email over SMTP"
description: "WP Mail SMTP pointed at Unitpost instead of PHP mail()."
url: https://www.unitpost.com/guides/smtp/wordpress
section: SMTP
updated: 2026-08-28
---
# Send WordPress email over SMTP

## Connection settings

- **Host**: smtp.unitpost.com
- **Username**: unitpost (always this literal value)
- **Password**: Your Unitpost API key (must carry emails:send)
- **Port (STARTTLS)**: 587 (or 2587 if blocked)
- **Port (implicit TLS)**: 465 (or 2465 if blocked)
- **From address**: Any address on a verified domain

## Send WordPress email over SMTP

> WP Mail SMTP pointed at Unitpost instead of PHP mail().

WordPress sends mail via PHP's `mail()` by default, which most hosts deliver poorly. Route it through Unitpost SMTP with a plugin like WP Mail SMTP.

### 1. Install an SMTP plugin

From Plugins → Add New, install and activate WP Mail SMTP (or a comparable SMTP plugin).

### 2. Choose the "Other SMTP" mailer

In the plugin settings, pick the generic Other SMTP option (not a named provider).

### 3. Enter your Unitpost SMTP settings

- SMTP Host: smtp.unitpost.com
- Encryption: TLS (STARTTLS)
- SMTP Port: 587
- Authentication: On
- SMTP Username: unitpost
- SMTP Password: Your Unitpost API key
- From Email: you@yourdomain.com (verified)

> Store the API key in the plugin's password field. Set the From Email to an address on your verified domain.

### 4. Send a test email

Use the plugin's Email Test tab to send yourself a message, then confirm it in your Unitpost Activity view.

## Related

- [Send Auth0 email over SMTP](https://www.unitpost.com/guides/smtp/auth0): Verification, welcome, and reset mail from your domain.
- [Send email from Rails over SMTP](https://www.unitpost.com/guides/smtp/rails): Action Mailer pointed at Unitpost.
- [Send email from Laravel over SMTP](https://www.unitpost.com/guides/smtp/laravel): MAIL_HOST in .env pointed at Unitpost.
