The WordPress Plugins Team has released a plugin called SMTP. It helps sites whose email silently stops working.
Why email breaks
By default, WordPress sends email through a basic PHP function called mail(). Many hosts now block it or limit outbound mail to stop abuse. Cloud and container setups often have no mail server at all.
When that happens, the site looks fine. But password resets, form submissions and order receipts never arrive.
What the plugin does
SMTP connects WordPress to any SMTP server, which is a standard mail-sending service. You enter the host, port, encryption type, username, password and From address. It configures the mailer WordPress already uses and does nothing more.
According to the announcement, it also includes:
- Settings in wp-config.php. Constants such as SMTP_HOST and SMTP_PASSWORD override saved values and lock those fields. The team recommends this for production sites.
- Encrypted passwords. On WordPress 7.2 and later, the password is stored with the core Secrets API. Older versions store credentials separately from other settings.
- An email log. It records recipient, subject, status and errors, but not message bodies or attachments. Entries are deleted after 30 days.
- Failure alerts. The plugin can send a Slack alert when an email fails.
- WP-CLI commands for setup and testing.
What it does not do
It cannot yet send through services that use an API instead of SMTP. The Plugins Team created it but does not provide support for it. It needs WordPress 6.3 and PHP 7.4.
People already using an older plugin with the same name are upgraded in place. Host, port, encryption and username carry over. Most will need to re-enter the password.
What to do
Send yourself a password reset today. If it never arrives, your site may have this problem. Ask your host whether outbound mail is blocked, then test the plugin on a staging copy first. If your current email plugin works, you have no reason to switch.
End of article