{"id":31216,"date":"2014-08-20T00:35:07","date_gmt":"2014-08-20T00:35:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/log-emails\/"},"modified":"2026-05-14T05:39:45","modified_gmt":"2026-05-14T05:39:45","slug":"log-emails","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/log-emails\/","author":6013576,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6.0","stable_tag":"1.6.0","tested":"7.0","requires":"4.6","requires_php":"7.4","requires_plugins":null,"header_name":"Log Emails","header_author":"WebAware","header_description":"","assets_banners_color":"7d9159","last_updated":"2026-05-14 05:39:45","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.webaware.com.au\/donations\/?donation_for=Log+Emails","header_plugin_uri":"https:\/\/shop.webaware.com.au\/downloads\/log-emails\/","header_author_uri":"https:\/\/shop.webaware.com.au\/","rating":5,"author_block_rating":0,"active_installs":6000,"downloads":59656,"num_ratings":11,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"webaware","date":"2014-08-20 00:35:51"},"1.0.2":{"tag":"1.0.2","author":"webaware","date":"2014-08-20 22:19:05"},"1.0.3":{"tag":"1.0.3","author":"webaware","date":"2014-09-06 03:45:34"},"1.0.4":{"tag":"1.0.4","author":"webaware","date":"2014-11-03 08:59:32"},"1.0.5":{"tag":"1.0.5","author":"webaware","date":"2015-07-27 10:09:16"},"1.0.6":{"tag":"1.0.6","author":"webaware","date":"2016-04-01 08:53:51"},"1.1.0":{"tag":"1.1.0","author":"webaware","date":"2016-07-27 23:53:34"},"1.2.0":{"tag":"1.2.0","author":"webaware","date":"2016-11-21 04:11:12"},"1.2.1":{"tag":"1.2.1","author":"webaware","date":"2016-11-26 01:04:27"},"1.3.0":{"tag":"1.3.0","author":"webaware","date":"2018-11-20 08:36:31"},"1.3.1":{"tag":"1.3.1","author":"webaware","date":"2020-08-10 11:19:11"},"1.4.0":{"tag":"1.4.0","author":"webaware","date":"2024-03-17 04:29:52"},"1.5.0":{"tag":"1.5.0","author":"webaware","date":"2026-05-12 05:27:19"},"1.6.0":{"tag":"1.6.0","author":"webaware","date":"2026-05-14 05:39:45"}},"upgrade_notice":{"1.6.0":"<p>only record the From name when it isn&#039;t empty; purging works even when settings not saved; log Gravity Forms multipart emails as HTML emails; add Sender, CC, BCC columns to logs list; record Reply-To addresses and show on detailed log<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":11},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2590631,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2590631,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2590631,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1","1.4.0","1.5.0","1.6.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[267,26736,1522,1955],"plugin_category":[41,59],"plugin_contributors":[78461],"plugin_business_model":[],"class_list":["post-31216","plugin","type-plugin","status-publish","hentry","plugin_tags-email","plugin_tags-email-log","plugin_tags-logging","plugin_tags-logs","plugin_category-communication","plugin_category-utilities-and-tools","plugin_contributors-webaware","plugin_committers-webaware"],"banners":{"banner":"https:\/\/ps.w.org\/log-emails\/assets\/banner-772x250.png?rev=2590631","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/log-emails\/assets\/icon-128x128.png?rev=2590631","icon_2x":"https:\/\/ps.w.org\/log-emails\/assets\/icon-256x256.png?rev=2590631","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>Use this plugin with <a href=\"https:\/\/shop.webaware.com.au\/downloads\/disable-emails\/\">Disable Emails<\/a> to divert all WordPress emails into logs, especially handy for developers.<\/p>\n\n<p>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.<\/p>\n\n<h3>Translations<\/h3>\n\n<p>Many thanks to the generous efforts of our translators:<\/p>\n\n<ul>\n<li>Czech (cs-CZ) -- <a href=\"http:\/\/www.klusik.cz\/\">Rudolf Klusal<\/a><\/li>\n<li>English (en-CA) -- <a href=\"https:\/\/translate.wordpress.org\/locale\/en-ca\/default\/wp-plugins\/log-emails\">the English (Canadian) translation team<\/a><\/li>\n<li>English (en-GB) -- <a href=\"https:\/\/translate.wordpress.org\/locale\/en-gb\/default\/wp-plugins\/log-emails\">the English (British) translation team<\/a><\/li>\n<li>French (fr-FR) -- <a href=\"http:\/\/www.eticweb.ca\/\">Hugo Catellier<\/a><\/li>\n<li>Korean (ko-KR) -- <a href=\"https:\/\/translate.wordpress.org\/locale\/ko\/default\/wp-plugins\/log-emails\">the Korean translation team<\/a><\/li>\n<li>Russian (ru) -- <a href=\"https:\/\/translate.wordpress.org\/locale\/ru\/default\/wp-plugins\/log-emails\">the Russian translation team<\/a><\/li>\n<\/ul>\n\n<p>If you'd like to help out by translating this plugin, please <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/log-emails\">sign up for an account and dig in<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload this plugin to your \/wp-content\/plugins\/ directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"standard%20wordpress%20emails%20are%20logged%2C%20but%20some%20others%20are%20not\"><h3>Standard WordPress emails are logged, but some others are not<\/h3><\/dt>\n<dd><p>You probably have a plugin that is sending emails via some other method, like directly using the PHP <code>mail()<\/code> function, or directly implementing an SMTP client. Not much I can do about that...<\/p><\/dd>\n<dt id=\"why%20are%20some%20html%20emails%20broken%3F\"><h3>Why are some HTML emails broken?<\/h3><\/dt>\n<dd><p>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.<\/p>\n\n<p>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.<\/p>\n\n<p>If you find that emails from some plugins are broken, please tell me in the <a href=\"https:\/\/wordpress.org\/support\/plugin\/log-emails\">support forum<\/a>.<\/p><\/dd>\n<dt id=\"what%20performance%20impact%20does%20it%20have%3F\"><h3>What performance impact does it have?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>The full changelog can be found <a href=\"https:\/\/github.com\/webaware\/log-emails\/blob\/master\/changelog.md\">on GitHub<\/a>. Recent entries:<\/p>\n\n<h3>1.6.0<\/h3>\n\n<p>Released 2026-05-14<\/p>\n\n<ul>\n<li>changed: only record the From name as part of the From field when it isn't empty<\/li>\n<li>fixed: purge of old logs will run with default 30 days limit if setting has not been saved<\/li>\n<li>fixed: log Gravity Forms multipart emails as HTML emails<\/li>\n<li>added: Sender, CC, BCC columns in list of email logs<\/li>\n<li>added: record Reply-To addresses and show on detailed log<\/li>\n<\/ul>","raw_excerpt":"Log emails to the database, to enable email problem analysis","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31216"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webaware"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31216"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31216"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31216"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31216"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31216"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}