wp-content/plugins/ketch/ketch.php
Ketch
Find out whether the email was actually sent, and what it said.
== Description ==
“The customer says they never got the email” is unanswerable without a log. Ketch records every wp_mail() call with recipients, headers, body and the boolean the mailer returned, plus the error where one was raised.
Because a mail log is a pile of personal data, retention is capped by default and bodies can be redacted after a shorter window than metadata — so you keep “it was sent at 14:02 and accepted” long after you have stopped keeping what it said.
Resending is one click and records that it was a resend, which matters when someone asks why they got two.
== Screenshots ==
Numbered the way they ship in /assets/. Click any one to see it full width.
== Installation ==
- Install and activate the plugin.
- Set retention under Tools → Mail Log. The default is 30 days for bodies, 180 for metadata.
- Search by recipient when someone asks.
It logs what wp_mail was asked to send. Whether the recipient’s server accepted it is beyond any WordPress plugin.
== Frequently asked questions ==
Does it catch mail sent by an SMTP plugin?
Yes, as long as that plugin goes through wp_mail, which all the common ones do.
Passwords in reset emails?
Reset links are redacted in the stored body by default, so the log cannot be used to take over an account.
== Changelog ==
= 1.9.2 =
- Fixed: multipart bodies were logged as the raw MIME source rather than the readable parts.
= 1.9.0 =
- Separate retention for bodies and metadata.
- Password reset links redacted in stored bodies.
= 1.6.0 =
- Resend, recorded as a resend.