Giter VIP home page Giter VIP logo

email-log's Introduction

Email Log

Contributors: sudar
Tags: email, log, log email, resend email, multisite
Requires PHP: 5.6
Requires at least: 4.0
Tested up to: 6.4.2
Stable tag: 2.4.9
Plugin Version Total Downloads Plugin Rating WordPress Compatibility Build Status Code Coverage Scrutinizer Code Quality StyleCI License

Log and view all outgoing emails from WordPress. Very useful if you have to debug email related problems or have to store sent emails for auditing.

Description

Email Log is a WordPress plugin that allows you to easily log and view all emails that were sent from WordPress.

This would be very useful for debugging email related problems in your WordPress site or for storing sent emails for auditing purposes, especially on ecommerce sites that are setup with either WooCommerce or Easy Digital Downloads.

You can perform advanced actions like re-sending email, automatically forwarding emails or export logs with our premium add-ons.

Works with WordPress Multisite as well.

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.

If you want to automatically delete the email logs after some days, then you can use the Auto Delete Logs add-on.

Resend email (Pro addon)

You can buy the Resend email pro add-on, which allows you to resend the email directly from the email log.

The add-on allows you to modify the different fields of the email before resending it.

More Fields (Pro addon)

You can buy the More Fields pro add-on, 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

Forward email (Pro addon)

You can buy the Forward email pro add-on, 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.

Export email logs (Pro addon)

You can buy the Export Email Logs add-on, which allows you to export the email logs as a csv file for further processing or record keeping.

Cleaning up db on uninstall

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

Documentation

You can find fully searchable documentation about using the plugin in the doc section of the Email Log website.

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.

Support

  • If you have a question about usage of the free plugin or need help to troubleshoot, then post in WordPress forums.
  • If you have a question about any of the pro add-ons or have a feature request then post them in the support section of our site.
  • If you have any development related questions, then post them as github issues

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

The above screenshot shows the HTML version (if available) of the logged email that you choose to view

The above screenshot shows the text version of the logged email that you choose to view

The above screenshot shows how you can search logged emails by date

Readme Generator

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

email-log's People

Contributors

anandb000 avatar dependabot[bot] avatar esudalaimadan avatar rajanvijayan avatar scrutinizer-auto-fixer avatar sudar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

email-log's Issues

QA - Fix Button label

The Export Logs addon button label says Activate License to Use while all other labels say Activate License to Install. This has to changed for consistency.

image

View Content link produces blank window due to wpMandrill conflict

The "View Content" link has stopped working. The new window that opens is entirely blank, so I checked the wp_email_log table in the database and found the message column is empty in the most recently created rows. After some testing, it appears the use of the plugin named wpMandrill prevents the message column from being populated. I believe this is because wpMandrill seems to be using the field name 'html' instead of 'message' even though 'html' appears to be in the same position in the $mail_info array. I ran quick test and had "Email Log" store the contents of 'html' in the 'message' column and it worked. Is there any way to make "Email Log" populate the message column in the database based on array element position instead of by the 'message' field name? Or, can you think of a better way to resolve this conflict?

Create License page

License page will display the license information of the purchased add-ons.

blank entries

I was watching the tables in database, i I found that I created tables in white, and the log appear as blanks

No Email Log for Emails sent by MailPoet Plugin

MailPoet is a plugin that allows you to do newsletters etc. all from Wordpress. It's got over 200,000+ active installs according to the WordPress plugin page.

Currently no emails that are sent by MailPoet appear in my Email log. Is this a known issue?

Check minimum requirements before add-on activation

Create a class or function to check for minimum requirements before any add-on is activated

  • Check if PHP 5.3 or above is present
  • Check if Email Log (base) plugin is activated
  • Also add the respective add-on settings in a tab in the Settings page

Drop support for PHP 5.2

In order to activate the plugin or it's add-on, users must be running at least PHP 5.3

Display an alert to indicate that support is dropped, when user running PHP 5.2, activates the plugin.

More Fields plugin throws exception

Hi Sudar-

Not sure if you want bugs for the commercial addons reported here or some other repo, but when I attempted to activate the more fields addon (with 1.5.4 installed), I get the following fatal error and the addon plugin refuses to activate:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home2/honk/public_html/wp-content/plugins/email-log-more-fields/email-log-more-fields.php on line 53

That's the strangest error I've encountered in a while. My best shot at looking this error up suggests the problem is with the double colon on the line (::) even though that line looks fine to me. I wonder if something earlier in the code is triggering the error.

This is running on a 3.6.1 install with PHP version 5.2.17. Please let me know if you need any other info to debug this.

Not Logging Content of Emails for Sites on https

Email Log is working fine on my localhost test site, but on my live site, clicking on the View Content link simply generates a blank lightbox.

I've tried switching to a default theme and turning off other plugins, and it made no difference, so my conclusion is that the issue lies with the fact that the live site is using https.

Restructure the menu

  • Restructure the menu by removing from Tools -> Email Log and add Email Log as main menu.
  • Add the following sub-menus
    • Logs
    • Settings
    • License
    • Add-ons

Tweak the style of thickbox

@mariadanieldeepak

The changes that you made for thickbox are great, but it would be nice if we can make the following design tweaks.

  • Expand the height of both the tabs to match the full height of the thickbox popup (see screenshot)
  • Add a close button at the end

screenshot 2017-03-28 09 59 29

Create Add-ons page

The add-ons page will display the list of available add-ons in a grid and an option to purchase them.

Create Settings page

Settings page will be the central page to control the settings of the Email Log plugin and any purchased add-ons.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.