MazeSMTP takes over the email your site sends with
wp_mail() and delivers it through a connection you choose. Every message is logged with its headers, its body and what happened on each try.
Connections
- SMTP: any SMTP server, with STARTTLS, SSL/TLS or no encryption, with or without a login.
- Mailgun: Mailgun's HTTP API, US or EU region. Useful where the host blocks SMTP ports.
- PHP mail: the server's own
mail() function, as WordPress uses by default.
Each connection sends as exactly one sender address. A message whose From matches a connection's sender goes through that connection; everything else goes through the default connection.
Delivery you can rely on
- When an attempt fails for a temporary reason (the server cannot be reached, a login is refused, a rate limit), MazeSMTP tries up to three more times: the fallback connection at once, then after 5 and 15 minutes (without a fallback: after 1, 5 and 15 minutes). No message gets more than four tries.
- Refused recipients and rejected content fail at once, because trying again would not help.
- A message is never lost because a page request stopped mid-send: the next run of WP-Cron picks it up.
- Simulation mode logs every message and sends nothing, for staging sites and tests.
Email log
- Search and filter by status, connection and date.
- Each message shows its sender, recipients, the plugin or theme that sent it, MIME headers with credential-like values masked, the HTML body (shown in a sandbox that blocks scripts and remote images) and every attempt, including the SMTP conversation or the Mailgun reply.
- Delete one message, a selection, everything matching a filter, or everything. Old messages are deleted automatically after the number of days you choose.
AI abilities (optional, off by default)
On WordPress 6.9 or later, MazeSMTP can register its tools with the WordPress Abilities API so that compatible AI integrations can use them. Turn it on under MazeSMTP → Settings → "Enable AI abilities".
- Read-only abilities list your connections with their health (no credentials are returned), list the email log with masked recipients, and explain why a message failed.
- A separate switch, "Allow test emails", adds one action: sending a test email through a connection, limited to one per connection per minute.
- Every ability requires a signed-in user with the
manage_options capability. While the setting is off, MazeSMTP registers nothing with the Abilities API.
- Install and activate MazeSMTP from Plugins → Add New.
- Open MazeSMTP → Connections and add your SMTP server or Mailgun domain.
- Use "Send a test" to check that it works.
Until you add a connection, email keeps going out through PHP mail as before, and it is logged.