Title: Log Emails
Author: webaware
Published: <strong>August 20, 2014</strong>
Last modified: December 14, 2025

---

Search plugins

![](https://ps.w.org/log-emails/assets/banner-772x250.png?rev=2590631)

![](https://ps.w.org/log-emails/assets/icon-256x256.png?rev=2590631)

# Log Emails

 By [webaware](https://profiles.wordpress.org/webaware/)

[Download](https://downloads.wordpress.org/plugin/log-emails.1.5.0.zip)

 * [Details](https://ewe.wordpress.org/plugins/log-emails/#description)
 * [Reviews](https://ewe.wordpress.org/plugins/log-emails/#reviews)
 *  [Installation](https://ewe.wordpress.org/plugins/log-emails/#installation)
 * [Development](https://ewe.wordpress.org/plugins/log-emails/#developers)

 [Support](https://wordpress.org/support/plugin/log-emails/)

## Description

Log emails to the WordPress database for later analysis. Access is restricted to
administrators, and emails with WordPress passwords are obfuscated for security /
privacy. Useful for diagnosing lost email problems.

Use this plugin with [Disable Emails](https://shop.webaware.com.au/downloads/disable-emails/)
to divert all WordPress emails into logs, especially handy for developers.

Logs are automatically purged after a defined period, set through a settings page
in the WordPress admin. Setting the period to 0 prevents logs from being purged.
Uninstalling the plugin purges all logs.

### Translations

Many thanks to the generous efforts of our translators:

 * Czech (cs-CZ) — [Rudolf Klusal](http://www.klusik.cz/)
 * English (en_CA) — [the English (Canadian) translation team](https://translate.wordpress.org/locale/en-ca/default/wp-plugins/log-emails)
 * English (en_GB) — [the English (British) translation team](https://translate.wordpress.org/locale/en-gb/default/wp-plugins/log-emails)
 * French (fr-FR) — [Hugo Catellier](http://www.eticweb.ca/)
 * Korean (ko_KR) — [the Korean translation team](https://translate.wordpress.org/locale/ko/default/wp-plugins/log-emails)

If you’d like to help out by translating this plugin, please [sign up for an account and dig in](https://translate.wordpress.org/projects/wp-plugins/log-emails).

## Installation

 1. Upload this plugin to your /wp-content/plugins/ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## FAQ

### Standard WordPress emails are logged, but some others are not

You probably have a plugin that is sending emails via some other method, like directly
using the PHP `mail()` function, or directly implementing an SMTP client. Not much
I can do about that…

### Why are some HTML emails broken?

Some plugins tell WordPress that their emails are HTML, using one of two accepted
methods. These emails are correctly recorded as HTML and should display reasonably
well in the logs. If they use CSS, they might not display exactly like they do in
an email program, but should still display OK.

Some plugins just dump HTML into emails without saying it’s HTML, or even following
basic HTML document rules. If those emails have an alternative body, implying HTML
+ plain text parts, they’ll be marked as HTML and will display as such.

If you find that emails from some plugins are broken, please tell me in the [support forum](https://wordpress.org/support/plugin/log-emails).

### What performance impact does it have?

Logging emails writes to the database. The plugin uses a custom post type, so logging
each email has the same impact as saving a new WordPress post, i.e. generally not
much.

## Reviews

![](https://secure.gravatar.com/avatar/d151d1d91e34373d2a7cdffb08f42d78224fa0164c7ff60b5f8ff444fcf7e679?
s=60&d=retro&r=g)

### 󠀁[Faith restored!](https://wordpress.org/support/topic/faith-restored/)󠁿

 [Anonymous User 652281](https://profiles.wordpress.org/anonymized-652281/) July
2, 2021

Thank you so much. At last a simple, lightweight plugin that works! No upselling
or additional frameworks. And it adds itself discretely and sensibly in the WP menu
system.

![](https://secure.gravatar.com/avatar/536327dbdf97a4292e19cb604ef97815e1c2258246ba0e2a119e804c6962d836?
s=60&d=retro&r=g)

### 󠀁[Really great plugin!](https://wordpress.org/support/topic/really-great-plugin-160/)󠁿

 [Boat](https://profiles.wordpress.org/boatkung/) October 16, 2020

Great feature for free, why not to get another 5 stars Thanks!

![](https://secure.gravatar.com/avatar/8bf4e001b356053691150698a558b4a9432963388308be0e0b0d7cfa51d78e01?
s=60&d=retro&r=g)

### 󠀁[Simple is good](https://wordpress.org/support/topic/simple-is-good-11/)󠁿

 [rvnd](https://profiles.wordpress.org/rvnd/) September 30, 2020

no premium features, just great community spirit. thanks dev.

![](https://secure.gravatar.com/avatar/0ac96f51bdb65c036198f2f031bd058bd68b9c48e8d88662f85eb60e32bb0213?
s=60&d=retro&r=g)

### 󠀁[compact and free from vulnerabilities](https://wordpress.org/support/topic/whats-most-important-secure-from-vulnerabilities/)󠁿

 [tazotodua](https://profiles.wordpress.org/tazotodua/) December 14, 2018

I’ve checked it’s functionality and with first sight, it didn’t contained vulnerable
parts. Thank you.

![](https://secure.gravatar.com/avatar/9c5813f24d1c3617dc92c4020fd4c55eba140ccc61cb68eed77b711819d048ee?
s=60&d=retro&r=g)

### 󠀁[Only sad I didn’t find this plugin sooner!](https://wordpress.org/support/topic/only-sad-i-didnt-find-this-plugin-sooner/)󠁿

 [John Hawkins](https://profiles.wordpress.org/vegasgeek/) October 6, 2018

Seriously, this plugin is so freakin’ helpful. I work on a lot of sites that I have
set up on my local development machine and don’t have outgoing email set up on purpose.
Only rarely do I need access to test those emails. But when I need it, it’s typically
urgent. This plugin has completely saved the day multiple times over the past month.
Thank you so much for the great work!

![](https://secure.gravatar.com/avatar/3f506c374d8cfdf5b5e9aeeb5bfac1130f1c0e1cc9794cf3cc70a26dd636a6ae?
s=60&d=retro&r=g)

### 󠀁[Simple and useful plugin](https://wordpress.org/support/topic/simple-and-useful-plugin-6/)󠁿

 [Max K](https://profiles.wordpress.org/kaminskym/) April 26, 2017

Thanks for a plguin, it was thoroughly coded and seems have all that I need.

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/log-emails/reviews/)

## Contributors & Developers

“Log Emails” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

“Log Emails” has been translated into 7 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/log-emails/contributors)
for their contributions.

[Translate “Log Emails” into your language.](https://translate.wordpress.org/projects/wp-plugins/log-emails)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/log-emails/), check
out the [SVN repository](https://plugins.svn.wordpress.org/log-emails/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/log-emails/) by 
[RSS](https://plugins.trac.wordpress.org/log/log-emails/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

The full changelog can be found [on GitHub](https://github.com/webaware/log-emails/blob/master/changelog.md).
Recent entries:

### 1.5.0

Released 2024-07-28

 * changed: requires PHP 7.4 minimum (recommend PHP 8.2+)
 * fixed: viewing an email log triggered warnings in PHP 8.1+
 * added: Settings, Logs links to Plugins page listing

## Meta

 *  Version **1.5.0**
 *  Last updated **4 months ago**
 *  Active installations **6,000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Czech](https://cs.wordpress.org/plugins/log-emails/), [English (Australia)](https://en-au.wordpress.org/plugins/log-emails/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/log-emails/), [English (New Zealand)](https://en-nz.wordpress.org/plugins/log-emails/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/log-emails/), [English (UK)](https://en-gb.wordpress.org/plugins/log-emails/),
   [English (US)](https://wordpress.org/plugins/log-emails/), and [Korean](https://ko.wordpress.org/plugins/log-emails/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/log-emails)
 * Tags
 * [email](https://ewe.wordpress.org/plugins/tags/email/)[email log](https://ewe.wordpress.org/plugins/tags/email-log/)
   [logging](https://ewe.wordpress.org/plugins/tags/logging/)[logs](https://ewe.wordpress.org/plugins/tags/logs/)
 *  [Advanced View](https://ewe.wordpress.org/plugins/log-emails/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/log-emails/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/log-emails/reviews/)

## Contributors

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/log-emails/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://shop.webaware.com.au/donations/?donation_for=Log+Emails)