Email Log is a WordPress Plugin that allows you to log all emails that are sent through WordPress.
PHP Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets Fix CSS coding standards Mar 30, 2017
bin Update Install WordPress tests script Jul 28, 2016
include #74 - Tweak the style of thickbox Mar 30, 2017
languages Regenerate pot file for v1.9.1 Jul 2, 2016
tests Use Constructor Dependency Injection for EmailLog class Feb 22, 2017
.bowerrc Use jQuery UI from bower Feb 21, 2017
.editorconfig Add editorconfig file Dec 12, 2016
.gitignore Move logic to handle database to a new class Jul 25, 2016
.scrutinizer.yml Fix issues in test configs Jul 2, 2016
.travis.yml Generate code coverage reports only for PHP 5.4 Dec 7, 2016
AUTHORS.md Add AUTHORS.md file May 27, 2016
Gruntfile.js Integrate Grunt Jun 19, 2016
HISTORY.md Bump up version to v1.9.1 for release Jul 2, 2016
README.md Fix issues in test configs Jul 2, 2016
bower.json Add HTML/Text tabs to Thickbox Mar 25, 2017
codeception.yml Bootstartp codecepetion tests Jul 10, 2016
composer.json Configure .travis to run uninstall tests Jul 26, 2016
composer.lock Move logic to handle database to a new class Jul 25, 2016
email-log.php Add a link to Email Log 1.9.1 zip file Dec 17, 2016
load-email-log.php Refactor Log List Actions Mar 9, 2017
package.json Bootstartp codecepetion tests Jul 10, 2016
phpcs.xml Exclude filelevel comments warnings Dec 18, 2016
phpdoc.dist.xml Add config files for phpcs and phpdoc Jun 19, 2016
phpunit.xml.dist Make sure tests don't given an error because of missing library Jul 26, 2016
screenshot-1.png Update screenshots to show the new screens Sep 9, 2013
screenshot-2.png Update screenshots to show the new screens Sep 9, 2013
screenshot-3.png Add screenshots showing functionalities of addons Sep 21, 2013
screenshot-4.png Add screenshots showing functionalities of addons Sep 21, 2013
screenshot-5.png Add screenshots showing functionalities of addons Sep 21, 2013
uninstall.php Move logic to handle database to a new class Jul 25, 2016

README.md

Email Log

Contributors: sudar
Tags: email, log, multisite
Requires at least: 3.3
Tested up to: 4.5.2
Stable tag: 1.9.1
Build Status Code Coverage Scrutinizer Code Quality License

Logs every email sent through WordPress. Works with WordPress Multisite as well

Description

Logs every email sent through WordPress and provides a UI where you can view them.

Viewing logged emails

The logged emails will be stored in a separate table and can be viewed from the admin interface. While viewing the logs, the emails can be filtered or sorted based on the date, email, subject etc.

Deleting logged emails

In the admin interface, all the logged emails can be delete in bulk or can also be selectively deleted based on date, email and subject.

Resend email (Pro addon)

You can buy the Resend email pro addon, which allows you to resend the email directly from the email log. The addon allows you to modify the different fields before resending the email. The cost of the addon is $15 and you can buy it through paypal.

More Fields (Pro addon)

You can buy the More Fields pro addon, which shows additional fields in the email log page. The following are the additional fields that are added by this addon.

  • From
  • CC
  • BCC
  • Reply To
  • Attachment

The cost of the addon is $15 and you can buy it through paypal.

Forward email (Pro addon)

You can buy the Forward email pro addon, which allows you to send a copy of all the emails send from WordPress, to another email address. The addon allows you to choose whether you want to forward through to, cc or bcc fields. This can be extremely useful when you want to debug by analyzing the emails that are sent from WordPress. The cost of the addon is $15 and you can buy it through paypal.

Cleaning up db on uninstall

As recommended by Ozh, the Plugin has an uninstall hook which will clean up the database when the Plugin is uninstalled.

Development

The development of the Plugin happens over at github. If you want to contribute to the Plugin, fork the project at github and send me a pull request.

If you are not familiar with either git or Github then refer to this guide to see how fork and send pull request.

If you are looking for ideas, then you can start with one of the following TODO items :)

TODO for Future releases

The following are the features that I am thinking of adding to the Plugin, when I get some free time. If you have any feature request or want to increase the priority of a particular feature, then let me know.

  • Add option to automatically delete the logs periodically
  • Add an option to export logs as csv file
  • Add the ability to resend the emails. Done in Resend Email Add-on
  • Make it MU compatible. Done in v1.7

Support

  • If you have found a bug/issue or have a feature request, then post them in github issues
  • If you have a question about usage or need help to troubleshoot, then post in WordPress forums or leave a comment in Plugins's home page
  • If you like the Plugin, then kindly leave a review/feedback at WordPress repo page.
  • If you find this Plugin useful or and wanted to say thank you, then there are ways to make me happy :) and I would really appreciate if you can do one of those.
  • If anything else, then contact me in twitter.

Stay updated

I would be posting updates about this Plugin in my blog and in Twitter. If you want to be informed when new version of this Plugin is released, then you can either subscribe to this blog's RSS feed or follow me in Twitter.

You can also checkout some of the other Plugins that I have released.

Translation

The Plugin currently has translations for the following languages.

  • German (Thanks Frank)
  • Lithuanian (Thanks Vincent G)
  • Dutch (Thanks Zjan Preijde)

The pot file is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.

Installation

Normal WordPress installations

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

Frequently Asked Questions

The content of the email is not getting logged when I am using wpmandrill plugin

wpmandrill plugin has a bug that prevents this plugin from logging the content of the email. More details about the bug is available at http://wordpress.org/support/topic/mandrill-is-changing-the-names-of-args-in-the-filter?replies=1. I have asked the author of the plugin to fix it and it might get fixed it the next release. Meanwhile, I have added a hack to handle this condition in v1.7.3 of my plugin. So if the content is not getting logged, then upgrade to v1.7.3.

Screenshots

The above screenshot shows how the logged emails will be displayed by the Plugin

This screenshot shows how you can configure the email display screen. You can choose the fields and the number of emails per page

This screenshot shows the additional fields that will be added by the more fields addon

The above screenshot shows how the logged emails will be displayed by the Plugin after you install the more fields addon

This screenshot shows the settings page of forward email addon

Readme Generator

This Readme file was generated using wp-readme, which generates readme files for WordPress Plugins.