Title: Log Emails
Author: webaware
Published: <strong>Август 20, 2014</strong>
Last modified: Май 14, 2026

---

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.6.0.zip)

 * [Details](https://os.wordpress.org/plugins/log-emails/#description)
 * [Reviews](https://os.wordpress.org/plugins/log-emails/#reviews)
 *  [Installation](https://os.wordpress.org/plugins/log-emails/#installation)
 * [Development](https://os.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)
 * Russian (ru) [the Russian translation team](https://translate.wordpress.org/locale/ru/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/) Июль
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/) Октябрь 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/) Сентябрь 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/) Декабрь 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/) Октябрь 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/) Апрель 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.6.0

Released 2026-05-14

 * changed: only record the From name as part of the From field when it isn’t empty
 * fixed: purge of old logs will run with default 30 days limit if setting has not
   been saved
 * fixed: log Gravity Forms multipart emails as HTML emails
 * added: Sender, CC, BCC columns in list of email logs
 * added: record Reply-To addresses and show on detailed log

## Meta

 *  Version **1.6.0**
 *  Last updated **2 weeks ago**
 *  Active installations **6,000+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **7.0**
 *  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://os.wordpress.org/plugins/tags/email/)[email log](https://os.wordpress.org/plugins/tags/email-log/)
   [logging](https://os.wordpress.org/plugins/tags/logging/)[logs](https://os.wordpress.org/plugins/tags/logs/)
 *  [Advanced View](https://os.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

Issues resolved in last two months:

     1 out of 1

 [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)