Send

WordPress SMTP for Transactional Email

Configure WordPress transactional email through SMTP relay while preserving SPF, DKIM, DMARC, and delivery tracking.

Updated

TL;DR

WordPress should send production transactional email through authenticated SMTP relay, not the default local mail path. Verify the From domain, use port 587 with STARTTLS, and monitor bounces through provider webhooks.

What you will learn

  • Configure WordPress SMTP safely
  • Avoid default mail delivery problems
  • Protect WooCommerce and account emails from deliverability regressions

Why default WordPress mail fails

WordPress uses wp_mail() as an abstraction. On many hosts, that eventually uses local mail infrastructure with weak authentication and poor visibility.

For production transactional email, use authenticated SMTP relay or a provider plugin so mail is signed, logged, and trackable.

Postscale SMTP settings

SettingValue
SMTP hostsmtp.postscale.io
Port587
EncryptionSTARTTLS
AuthenticationEnabled
UsernameSMTP credential username
PasswordSMTP credential secret

Use port 465 only if the SMTP plugin requires implicit TLS.

From domain rules

Use a From address on a verified domain:

store@example.com

Avoid sending WooCommerce receipts from free mailbox domains such as gmail.com or outlook.com. Your store domain should pass SPF, DKIM, and DMARC alignment.

WooCommerce checklist

  1. Verify the sending domain.
  2. Configure SMTP credentials.
  3. Send a password reset test.
  4. Send a WooCommerce order test.
  5. Check headers for SPF, DKIM, and DMARC pass.
  6. Import suppressions from the old provider.
  7. Keep customer-service reply handling stable.

For commerce-specific deliverability, see Postscale for e-commerce.

Webhook handling

WordPress does not need to process every event itself. A webhook handler can be:

  1. A small custom plugin.
  2. A REST endpoint in a companion application.
  3. A queue worker that updates WordPress through the REST API.

Use idempotency so duplicate webhooks do not update the same order repeatedly.

References

Frequently asked questions

Which WordPress emails are transactional?
Password resets, account verification, WooCommerce order updates, shipment updates, account changes, and admin notifications are transactional.
Can WordPress receive delivery webhooks?
Usually the webhook handler belongs in a small plugin, custom endpoint, or external application that can update order or user metadata.

Related guides

Put the guide into production

Postscale brings sending, inbound processing, DMARC reporting, and masked addresses behind one API so the operational pieces stay connected.