WP Mail Log

A simple plugin that, while activated, logs all calls to the wp_mail() function to a file wp-content/wp_mail_log.

Please be advised, this file is probably publicly accessible on your server, and could well contain private information. This plugin is for debugging purposes only, I encourage you to delete the wp_mail_log file and deactivate the plugin once you’re finished with it.

If you have a support question, try posting a comment below.

Get the code here.

6 thoughts on “WP Mail Log

  1. How can I get the advantage of this plug in in order to see the possible error in my site that cause problem of sending email.

    I can’t send the mails ( forget password, new user notification )

    Please help,

    PS: I user WP 3.1.2 and the WP SMTP plug-in installed successfully but does not apear when I click E-Mail in the settings menu..

    Regards

        • Apologies, I think I misunderstood. Have you installed the WP Mail Log plugin? It creates a log file that you can view in the plugin editor. To be honest, it’s quite technical, and so if the instructions in the plugin itself don’t make sense, I recommend you try a different debugging approach. I wrote and released this plugin because it was useful to me while debugging some people’s sites, but it’s not something I actively support, it’s really aimed at developers familiar with the WordPress stack.

            • Not sure. I recommend checking your PHP error logs (probably the apache error log). If you can’t find anything in there, try enabling error output (not sure how to do that without researching it). Try deactivating and then reactivating the plugin. If that all fails, post on the WP Mail SMTP support page here and I’ll look into it further there.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>