Email Log WordPress Plugin

Email Log WordPress Plugin

Email Log WordPress Plugin, allows you to log all emails that are sent through WordPress.

This Plugin is also MU compatible and can be used in WordPress MU installations too.

Download

You can download the Plugin as a zip file from the official WordPress Plugin repository.

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.

WordPress MU installations

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

Features

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, to address, 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, to address, subject.

Cleaning up db on uninstall

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

Screenshots

The following screenshot shows how the logged emails will be displayed

 view-wordpress-email-logs

This screenshot shows how the email logs could be filtered or sorted.

wordpress-email-log-filter-options

This one shows how the email logs could be deleted.

wordpress-email-log-delete-options

Translation

  • German (Thanks Frank)

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.

Feedback

If you have any comments or if you want to report any bugs, please leave a comment below or contact me.

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.

Changelog

  • 2009-10-08 – v0.1 – Initial Release
  • 2009-10-15 – v0.2 – Added compatibility for MySQL 4
  • 2009-10-19 – v0.3 – Added compatibility for MySQL 4 (Thanks Frank)
  • 2010-01-02 – v0.4 – Added German translation (Thanks Frank)

Share thy love

9 Comments so far

Trackback URI | Follow up comments through RSS Feed | Post a comment

  • After installation the table doesn’t exist. When I try to create it with phpMyAdmin I get this error message: Too big column length for column ’subject’ (max = 255). Use BLOB instead.
    Frank

    • Sudar says:

      @Frank,

      Thanks for reporting the issue. I guess it is related to the version of MySQL. I had access to only MySQL 5, so tested it only in that. Would be really helpful for me to fix it, if you could let me know the version of MySQL. You can find it in phpMyAdmin itself.

      • You are right: the version is 4.0.27.

        • Sudar says:

          @Frank,

          Thanks for confirming the MySQL version number. I will modify the table creation script to make it work in MySQL 4 also.

        • Sudar says:

          @Frank,

          I have released an updated version (v0.2) of the Plugin which fixes the issue with MySQL 4. Try it out and let me know if it works for you.

          Thanks for reporting the issue.

          • Frank Weichbrodt says:

            Thank You for working on this problem.
            But the is a new error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘CURRENT_TIMESTAMP, UNIQUE KEY id (id)’

            Frank

            • Sudar says:

              @Frank,

              Thanks for helping me to fix the compatibility issue with MySQL 4. I have released a new version of the Plugin with the fixes.

  • ovidiu says:

    the instructions seem wrong to me. dropping a folder into mu-plugins usually does nothing…

    if I only activate it for the main blog, will I see all emails that have been sent on the whole wpmu installation?

    • Sudar says:

      @Ovidiu,

      Thanks for pointing it out. I am not very much familiar with WordPress MU, so it may be wrong. I will test it again and will change the instructions.

7 Trackbacks/Pingbacks so far

Leave a Comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">