=== Check & Log Email - Easy Email Testing & Mail logging ===
Contributors: checkemail
Tags: logging, email, email log, smtp, log
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 5.6
Stable tag: 2.0.13.2
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Check & Log email allows you to test if your website is correctly sending emails . Overriding of email headers and carbon copying to another address.

== Description ==

In need of a tool that allows you to easily log and view all emails sent from WordPress? Check & Log might be just the solution for that. 
This WordPress plugin helps you store sent emails for auditing purposes, as well as debug email related problems in your WordPress site. Works best on eCommerce websites that have been created with WooCommerce or Easy Digital Downloads.

[Home](https://check-email.tech/) | [Help & Tech Support](https://check-email.tech/contact/) | [Documentation](https://check-email.tech/docs/) | [Premium Features](https://check-email.tech/pricing/#pro-feature)

== New Features of the plugin Check & Log Email 2.0 ==

- <strong>Export Logs</strong> - It allows to export email logs in multiple file format with date range and status <a href="https://check-email.tech/docs/knowledge-base/how-to-export-email-logs-in-check-log-email-plugin/">Learn More</a>. 
- <strong>More Fields</strong> - Such as Cc, Bcc, Host IP, Reply To etc. 
- <strong>Log Retention Period</strong> - It allows to deletes old emails when a certain amount of logs and time has passed. 
- <strong>Print or save as PDF</strong> - You can print the email log, or save it as a PDF. 
- <strong>Resend email</strong> - This feature allow you to modify email and resend email. 
- <strong>Forward Email</strong> - By using this feature you can automatically forward a copy of all emails sent by WordPress to other email addresses <a href=" https://check-email.tech/docs/knowledge-base/forward-email-option-in-the-check-log-email-plugin/">Learn More</a>. 
- <strong>Easy migration</strong> - It is allow you to import data from various plugins like <i>Email Log</i>, <i>Mail logging - WP Mail Catcher</i>, <i>WP Mail Logging</i>, <i>WP Mail Log</i> and export the data. 
- <strong>Email Error Tracking</strong> - You can easily see list of errors of emails and view details of error. 
- <strong>Setup Wizard</strong> - Wizard setup allows you to one time setup of this plugin. 
- <strong>Default Format for Message</strong> - Its allow you to Default Format for Message on view of content. 
- <strong>SMTP</strong> - Its allow you to setup your own smtp through Check & Email Log SMTP form. 
- <strong>Multisite Configure</strong> - Its allow to configure global setting for all your sites. 
- <strong>Encoding</strong> - Its allow to encode emails and phone in page content. 
- <strong>Outlook / MS 360</strong> - Its allow to send email using 360 / outlook configuration <a href="https://check-email.tech/docs/knowledge-base/microsoft-365-outlook-smtp-support-in-check-log-email/">Learn More</a>.
- <strong>Gmail SMTP</strong> - Its allow to send email gmail configuration <a href="https://check-email.tech/docs/knowledge-base/gmail-smtp-support-in-check-log-email/">Learn More</a>. 
- <strong>Email Spam Testing</strong> - Its allow to testing of your mail for accurate delivery <a href="https://check-email.tech/docs/knowledge-base/how-to-use-the-email-spam-analyzer-an-essential-tool-for-every-e-commerce-store/">Learn More</a>.

== Features of the plugin Check & Log Email ==

- <strong>Test email sending</strong> - if you’re not sure whether WordPress is sending emails, you can use this plugin to find out. The process is very simple: you need to choose an address that will receive a simple test email. You can even override the custom header with your own values, to avoid any other issues.
- <strong>Viewing logged emails</strong> - they can be viewed from the admin interface, as they are stored in a separate table. You get the option to filter them based on subject, email, date, etc.
- <strong>Deleting logged emails</strong> - you can delete them by going to the admin interface. You can either delete them in bulk or  selectively - by date, email, or subject. 
- <strong>Ability to change</strong> the "mail from" email address, "mail from name" and override default email WordPress addresses. 

== Premium Features of the plugin Check & Log Email ==

- <strong>Triggered Data</strong> - Triggered data helps you in debugging by showing the exact code that is sending that email <a href="https://check-email.tech/docs/knowledge-base/how-to-use-the-trigger-option-to-debug-emails-by-identifying-the-exact-code/">Learn More</a>

== Filters ==

- <strong>wp_mail_catcher_mail_success</strong> -  is triggered before an email is sent. It has a single argument that is an array containing original mail info.

- <strong>check_email_email_log_before_insert</strong> -  is triggered before an email data about to save in check & Log Email. It has a two argument.
    - <strong>log</strong> -  It is an array containing argument that will store in database
    - <strong>original_mail_info</strong> -   It is an array containing argument of original mail info.

- <strong>wp_check_email_failed</strong> -  is triggered when an email is failed. It has a two argument.
    - <strong>mail_error_data</strong> -  It is an array containing argument that has what possible reasons of error.
    - <strong>mail_error_message</strong> -   It is an string containing error message.


== Action ==

- <strong>check_email_log_inserted</strong> -  is triggered after data successfully saved in log.

- <strong>check_email_loaded</strong> -  is triggered when check & log email successfully loaded.


<strong>Support</strong><br>
We try our best to provide support on WordPress.org forums. However, We have a special [community support](https://check-email.tech/contact/) where you can ask us questions and get help about your Check & Log Email related questions. Delivering a good user experience means a lot to us and so we try our best to reply each and every question that gets asked.

<strong>Bug Reports</strong><br>
Bug reports for Check & Log Email are [welcomed on GitHub](https://github.com/ahmedkaludi/check-email). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.

<strong>Credits</strong><br>
* jsPDF used https://github.com/parallax/jsPDF - License URI: https://github.com/parallax/jsPDF/blob/master/LICENSE
* league/oauth2-client used https://github.com/thephpleague/oauth2-client - License URI: https://github.com/thephpleague/oauth2-client/blob/master/LICENSE

== Frequently Asked Questions ==

= How do I use it? =

Check the WordPress Admin Dashboard for "Check & Log Email" menu item.

= Why did you write this plugin? =

Someone using one of my other plugins had trouble with emails not being sent. I knocked this together to help him (and anyone else).

== Screenshots ==

1. Check & Log Email - Status
2. Check & Log Email - View Logs
3. Check & Log Email - Settings
4. Check & Log Email - Spam Analyzer
5. Check & Log Email - Error Tracker
6. Check & Log Email - General settings setup page
7. Check & Log Email - Email logging page
8. Check & Log Email - SMTP Configuration
9. Check & Log Email - Email encoding page
10. Check & Log Email - Tools page
11. Check & Log Email - Notify page

== Installation ==

= Using the WordPress Plugin Search =

1. Navigate to the `Add New` sub-page under the Plugins admin page.
2. Search for `Check & Log Email`.
3. The plugin should be listed first in the search results.
4. Click the `Install Now` link.
5. Lastly click the `Activate Plugin` link to activate the plugin.

= Uploading in WordPress Admin =

1. [Download the plugin zip file](https://wordpress.org/plugins/check-email/) and save it to your computer.
2. Navigate to the `Add New` sub-page under the Plugins admin page.
3. Click the `Upload` link.
4. Select Check & Log Email zip file from where you saved the zip file on your computer.
5. Click the `Install Now` button.
6. Lastly click the `Activate Plugin` link to activate the plugin.


== Changelog ==

= v2.0.13.2 - 13/04/2026 =
- Fixed: Vulnerability reported by Kishan Vyas
- Fixed: Vulnerability reported by @poloss

= v2.0.13.1 - 07/04/2026 =
- Fixed: Spam Analyzer Tool Response Issue #162

= v2.0.13 - 04/04/2026 =
- Fixed: Spam Analyzer Undefined error and fixed Go to Email log button #162
- Enhancement: PCP Check & Code Improvement #164
- Fixed: Vulnerability reported by WPScan Security

= v2.0.12 - 03/03/2026 =
- Fixed: LifterLMS mail logged by check-email, but not passed to configured SMTP server #152
- Enhancement: PCP check #161

= v2.0.11 - 05/01/2026 =
- Remove: Removed BFCM Banner #156

= v2.0.10 - 04/12/2025 =
- Feature Added: Error Log notification #46
- Improvement: Create backword compatibility #148
- Added: Promotion Banner BFCM #153
- Tested: WordPress version upto 6.9

= v2.0.9 - 09/09/2025 =
- Fixed: PHP Errors #143
- Fixed: Uncaught TypeError: Cannot read properties of null in checkmail-dashboard-chart.min.js when Dashboard Widget is disabled #147
- Enhancement: improved the ux to increase the positioning of premium features #142

= v2.0.8 - 07/07/2025 =
- Fixed: PHP Fatal error: Uncaught TypeError in wp_mail_failed hook due to malformed add_action in Check_Email_Notify_Tab.php #145
- Fixed: Tracking feature not working properly in WordPress Dashboard #134
- Enhancement: Log retention not working #141
- Enhancement: Other notification banner visible in Check Mail dashboard. #135

= v2.0.7 - 25/04/2025 =
- Fixed: PHP Notice: _load_textdomain_just_in_time called too early with check-email domain on WP 6.8 #139

= v2.0.6 - 11/04/2025 =
- Enhancement: Few changes in plugin's dashboard #133
- Fixed: Critical error after update 2.0.5.1 (could already be present in 2.0.5) #132
- Fixed: No Access to /wp-admin After Update to v2.0.5 #131
- Fixed: Some special characters are getting ignored in the password field while configuring SMPT #127


= v2.0.5.1 - 28/02/2025 =
- Fixed: No Access to /wp-admin After Update to v2.0.5 #131

= v2.0.5 - 27/02/2025 =
- Feature: Added Notify users after X (user defined) email sending failures #20
- Feature: Added Graph detail of mail delivered and failed  #120
- Fixed: Conflict with Gravity Forms #128
- Fixed: Error in debug log #123
- Fixed: Fatal error on user end. #126
- Fixed: Conflict Between "Check & Log Email" v2.0.4 and BackWPup Plugin Causing Dropbox Backup Failures #124
- Enhancement: Some Enhancement #129
- Enhancement: Updated screenshots on wp.org #122

= v2.0.4 - 26/12/2024 =
- Enhancement: Notice "Function _load_textdomain_just_in_time was called incorrectly" since wp 6.7 #116
- Enhancement: Few improvement needed #112
- Enhancement: Make an option to use one SMTP settings for multisite #97
- Feature: Email Spam Analyzer #119
- Fixed: Php error #117

= v2.0.3 - 06/11/2024 =
- Enhancement: Email Logs Show Failure as Success #113
- Feature: Added an option for Opened mails data #79
- Feature: Added Gmail mailer in smtp section #106
- Feature: Added a feature to send the bulk email. #107
- Fixed: Login OAuth Broken After Updating Check-Email Plugin to 2.0.2 #108

= v2.0.2 - 27/09/2024 =
- Feature: Added an option to use one SMTP settings for multisite #97
- Feature: Added encoding of email and phone #55
- Feature: Added integration with Microsoft SMTP that requires oAuth authentication. #100
- Fixed: Some warnings appear while viewing the email log #104

= v2 - 02/09/2024 =
- Enhancement: Added confirmation box on deletion of log email #84
- Fixed: Conflict issue with Override Emails feature. #98
- Fixed: PHP Fatal error #101

= v2.0 - 09/08/2024 =
- Compatibility: Test with WordPress version 6.6 #95
- Feature: Default Format for Message #86
- Feature: Added small setup wizard #87
- Feature: Log email content option #89
- Enhancement: Hooks and actions #90
- Enhancement: Fixed I18N Issues based on 1.0.13 helped by @alexclassroom #91
- Fixed: Images folder missing for jquery-ui.min.css #93
- Enhancement: Few improvement required #94
- Feature: Email error tracker #96

Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/check-email/trunk/changelog.txt)
