SMTP Email Log
Logs every email your WordPress site sends, sent or failed, with the exact SMTP error and how to fix it. Recover contact form leads from failed emails and resend them in one click.
Screenshots
SMTP Email Log keeps a record of every email your site sends: contact form messages, WooCommerce order emails, password resets and every other notification. Each one shows whether your mail server accepted it, and when it didn't, the exact error, what it usually means and how to fix it, from an expired SMTP password to a host that blocks outgoing mail ports.
Emails are saved before they're sent, so when your SMTP server is down, your login has expired or a page times out halfway through sending, the message is still there, along with the form submission inside it. Read the lead, resend it once the problem is fixed, or forward it to yourself, so a broken mail server never quietly costs you a customer. Attachments from failed emails are kept too, and the Test Email tab shows the full conversation with your mail server, step by step.
Choose whether to log every email or only the ones that fail, how long to keep them, and whether to save the message itself. Password reset and login links are hidden before they're stored, HTML emails open in a safe preview where nothing can run, and only administrators can see the log. When emails start failing, you'll see it on the Dashboard and can get an alert in Slack, Discord, Microsoft Teams or Zapier. Find it under Content Powered > SMTP Email Log, and get updates through the normal WordPress Updates screen.
Features
- Every email, sent or failed. Recipients, subject, message, headers and attachments for everything WordPress sends, with the result.
- Errors in plain English. The exact SMTP error, what it usually means and how to fix it, from expired passwords to blocked ports.
- No more lost leads. Emails are saved before they're sent, so a form submission survives a crash, a timeout or a mail server that's down.
- Resend and forward. Send a failed email again once the problem is fixed, forward it to yourself, or resend up to 20 at once.
- Attachments kept. Files from failed emails are copied somewhere private, so a resume or floor plan sent through a form isn't lost.
- The SMTP conversation. Every command and reply between your site and the mail server, with passwords and message content left out.
- Test email. Send a test and see how it went out, the server's reply, and what to fix if it failed.
- Know what sent it. The plugin, theme or WordPress feature behind each email, and the form, page or scheduled task that triggered it.
- Failure alerts. A Dashboard notice, a count in the menu, and webhook alerts to Slack, Discord, Teams or Zapier.
- Search and export. Find any email by address, subject, message or error, and export the log to CSV.
- Private by design. Login links hidden, HTML shown in a sandbox, admins only, and old entries deleted on your schedule.
- Click Download above to save
smtp-email-log.zip. Leave it zipped. - In your WordPress dashboard, go to Plugins > Add New Plugin and click Upload Plugin.
- Choose the ZIP and click Install Now, then Activate Plugin.
To update later, upload a newer ZIP the same way. WordPress offers to replace the installed version and keeps your settings.
Does It Replace My SMTP Plugin?
No. Keep using your SMTP plugin (WP Mail SMTP, FluentSMTP, Post SMTP or any other) to send email. SMTP Email Log records what it sends and whether the mail server accepted it, so you can see the moment something breaks.
What Happens to a Form Submission If My SMTP Server Is Down?
The email is saved to the log before WordPress tries to send it, so the full message, including what the visitor typed and any files they attached, is kept along with the error. Once the problem is fixed, resend it to the original recipients or forward it to any address.
Why Do My WordPress Emails Fail?
The most common reasons are a wrong or expired SMTP password, a host that blocks outgoing mail ports, a From address the mail server won't send from, and hosts that switch off PHP's mail() function. The log shows the exact error for each failed email, explains what it means, and suggests the fix.
Is It Safe to Keep Emails in a Log?
Only administrators can see it. Password reset and login links are hidden before they're saved, SMTP passwords are never stored, and HTML emails are shown in a sandbox where scripts can't run. You can keep only failed emails, skip the message content entirely, and choose how long entries are kept.
Will It Slow Down My Site?
No. It adds a couple of quick database writes when an email is sent, and nothing to pages that don't send email. Alerts go out in the background.
Can I Get Alerted When Emails Fail?
Yes. You'll see a notice on the Dashboard and a count in the admin menu, and you can add a webhook to post alerts to Slack, Discord, Microsoft Teams, Google Chat or Zapier. Webhooks keep working even when your mail server is the problem, which an email alert wouldn't.
How Do I Get Updates?
Through the normal WordPress Updates screen. The plugin checks our GitHub releases twice a day, and you can update with one click or turn on auto-updates from the Plugins screen.
1.0.0
- First release.
- See https://github.com/jmsprsns/smtp-email-log/releases for the full release history.
Download
More Free WordPress Plugins
Thumbnail Size Manager
See every image size your site makes, where each one came from, how many files it has and whether anything uses it. Switch off the sizes you don't need, clean up their files after a dry run, and regenerate the rest.Phone Click Tracking
See which pages, traffic sources and campaigns make people call or text you. Every tel:, sms:, WhatsApp and email click is logged in WordPress, with Google Business Profile and AI referrals, a Google Ads conversion export and client reports.Text Us Widget
An iOS-style "Text Us" button that opens Messages on iPhone, iPad and Mac (and Android, if you like), with Cloudflare Turnstile to hide your number from bots and tap tracking by device and page.Let's Grow Your Business
Want some free consulting? Let's hop on a call and talk about what we can do to help.
