Title: Log Emails
Author: webaware
Published: <strong>2014 年 8 月 20 日</strong>
Last modified: 2026 年 5 月 14 日

---

搜尋外掛

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

 由 [webaware](https://profiles.wordpress.org/webaware/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/log-emails/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/log-emails/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/log-emails/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/log-emails/#developers)

 [技術支援](https://wordpress.org/support/plugin/log-emails/)

## 外掛說明

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

## 安裝方式

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

## 常見問題集

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

## 使用者評論

![](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/) 2021
年 7 月 2 日

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/) 2020 年 10 月 16 日

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/) 2020 年 9 月 30 日

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/) 2018 年 12 月 14 日

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/) 2018 年 10 月 6 日

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/) 2017 年 4 月 26 日

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

 [ 閱讀全部 11 則使用者評論 ](https://wordpress.org/support/plugin/log-emails/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Log Emails〉的開發相關工作。

參與者

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

〈Log Emails〉外掛目前已有 7 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/log-emails/contributors)
為這個外掛做出的貢獻。

[將〈Log Emails〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/log-emails)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/log-emails/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/log-emails/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/log-emails/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/log-emails/)。

## 變更記錄

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

## 中繼資料

 *  版本 **1.6.0**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **6,000+**
 *  WordPress 版本需求 ** 4.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [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/)、及 [Korean](https://ko.wordpress.org/plugins/log-emails/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/log-emails)
 * 標籤:
 * [email](https://tw.wordpress.org/plugins/tags/email/)[email log](https://tw.wordpress.org/plugins/tags/email-log/)
   [logging](https://tw.wordpress.org/plugins/tags/logging/)[logs](https://tw.wordpress.org/plugins/tags/logs/)
 *  [進階檢視](https://tw.wordpress.org/plugins/log-emails/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  11 個 5 星使用者評論     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/log-emails/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/log-emails/reviews/)

## 參與者

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

## 技術支援

最近 2 個月解決的問題:

     總計 1 個問題，已解決 1 個

 [檢視技術支援論壇](https://wordpress.org/support/plugin/log-emails/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://shop.webaware.com.au/donations/?donation_for=Log+Emails)