Title: Log Emails
Author: webaware
Published: <strong>20 Tháng 8, 2014</strong>
Last modified: 14 Tháng 5, 2026

---

Tìm kiếm plugin

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

 Bởi [webaware](https://profiles.wordpress.org/webaware/)

[Tải về](https://downloads.wordpress.org/plugin/log-emails.1.6.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/log-emails/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/log-emails/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/log-emails/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/log-emails/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/log-emails/)

## Mô tả

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.

### Bản dịch

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

## Cài đặt

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

## Hỏi đáp

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

## Đánh giá

![](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 Tháng
7, 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/)󠁿

 [BoatKung](https://profiles.wordpress.org/boatkung/) 16 Tháng 10, 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 Tháng 9, 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 Tháng 12, 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 Tháng 10, 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 Tháng 4, 2017

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

 [ Đọc tất cả 11 đánh giá ](https://wordpress.org/support/plugin/log-emails/reviews/)

## Người đóng góp & Lập trình viên

“Log Emails” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

“Log Emails” đã được dịch qua 7 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/log-emails/contributors)
vì đóng góp của họ.

[Dịch “Log Emails” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/log-emails)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/log-emails/), check out 
[SVN repository](https://plugins.svn.wordpress.org/log-emails/), hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/log-emails/)
qua [RSS](https://plugins.trac.wordpress.org/log/log-emails/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

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

 *  Phiên bản **1.6.0**
 *  Cập nhật lần cuối **2 tháng trước**
 *  Số lượt cài đặt **6.000+**
 *  Phiên bản WordPress ** 4.6 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.1**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [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/), và [Korean](https://ko.wordpress.org/plugins/log-emails/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/log-emails)
 * Thẻ
 * [email](https://vi.wordpress.org/plugins/tags/email/)[email log](https://vi.wordpress.org/plugins/tags/email-log/)
   [logging](https://vi.wordpress.org/plugins/tags/logging/)[logs](https://vi.wordpress.org/plugins/tags/logs/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/log-emails/advanced/)

## Đánh giá

 5 trên 5 sao.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/log-emails/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/log-emails/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://shop.webaware.com.au/donations/?donation_for=Log+Emails)