Title: Log Emails
Author: webaware
Published: <strong>20 d'agost de 2014</strong>
Last modified: 14 de maig de 2026

---

Cerca extensions

![](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

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

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

 * [Detalls](https://ca.wordpress.org/plugins/log-emails/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/log-emails/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/log-emails/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/log-emails/#developers)

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

## Descripció

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.

### Traduccions

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

## Instal·lació

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

## PMF

### 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.

## Ressenyes

![](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 de
juliol de 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 de octubre de 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 de setembre de 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 de desembre de 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 de octubre de 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 de abril de 2017

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

 [ Llegiu totes les 11 ressenyes ](https://wordpress.org/support/plugin/log-emails/reviews/)

## Col·laboradors i desenvolupadors

«Log Emails» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

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

“Log Emails” s’ha traduït a 7 configuracions regionals. Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/log-emails/contributors)
per les seves aportacions.

[Traduïu «Log Emails» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/log-emails)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/log-emails/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/log-emails/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/log-emails/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/log-emails/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

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

 *  Versió **1.6.0**
 *  Darrera actualització **fa 1 mes**
 *  Instal·lacions actives **6.000+**
 *  Versió del WordPress ** 4.6 o posterior **
 *  Provada fins a **7.0**
 *  Versió del PHP ** 7.4 o posterior **
 *  Idiomes
 * [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/), i [Korean](https://ko.wordpress.org/plugins/log-emails/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/log-emails)
 * Etiquetes
 * [email](https://ca.wordpress.org/plugins/tags/email/)[email log](https://ca.wordpress.org/plugins/tags/email-log/)
   [logging](https://ca.wordpress.org/plugins/tags/logging/)[logs](https://ca.wordpress.org/plugins/tags/logs/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/log-emails/advanced/)

## Valoracions

 5 sobre 5 estrelles.

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

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/log-emails/reviews/)

## Col·laboradors

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

## Suport

Problemes resolts durant els darrers dos mesos:

     1 de 1

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/log-emails/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://shop.webaware.com.au/donations/?donation_for=Log+Emails)