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 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:

If you’d like to help out by translating this plugin, please sign up for an account and dig in.

安裝方式

  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.

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.

使用者評論

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.
2020 年 9 月 30 日
no premium features, just great community spirit. thanks dev.
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!
閱讀全部 11 則使用者評論

參與者及開發者

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

參與者

〈Log Emails〉外掛目前已有 7 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Log Emails〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

The full changelog can be found on GitHub. Recent entries:

1.4.0

Released 2020-10-13

  • changed: requires PHP 5.6 minimum (recommend PHP 7.3+)
  • fixed: overwriting $typenow breaks some other plugins (e.g. Event Espresso)