This plugin logs all mails that use the wp_mail() function (should be almost all). Mail can be viewed, downloaded as CSV and resend.
The plugin has REST API support. Log entries can also be exported automatically to another (archive) WordPress site that runs Mailtree. Mailtree uses the REST API for exporting entries and also has an automatic retry function to account for connection errors.
- Logs all emails using the wp_mail() function (should be almost all!).
- Download single entry as CSV.
- Bulk download entries as CSV.
- Download all entries as CSV.
- Delete single entry.
- Bulk delete entries.
- View all, only failed or only successful sent messages.
- Logs additional info such as trigger, exact time, content type, reply to address and full HTML.
- Search log entries.
- Set capability to view logs.
- Set capability to view settings.
Auto export / REST API:
- Export all entries to an external site automatically using Application Passwords and the REST API. Great for keeping a mail archive.
- Failed auto exports are retried automatically.
- Provides two REST API endpoints to save log entries (sent successful / failed).
- Attachements are not logged or saved. However the message detail will show a notification that an attachement was sent.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Navigate to the new “Mailtree” main menu item to view entries and configure settings.
How do I create an Application Password for auto export?
Visit your user profile in the backend via
Scroll down “Application Passwords” and enter any name i.e. “Mailtree”. It does not matter what name you pick.
Click “Add New Application Password”.
The new Application Password gets displayed. Save it somewhere. It will not get displayed again.
Please note: The user that creates the Application Password must have the capability required by the “User capability needed to see logs (and access REST API endpoints)” setting.
Are attachements logged?
Attachements are not saved and also not auto exported to an external site.
Contributors & Developers
“Mailtree Log Mail” is open source software. The following people have contributed to this plugin.Contributors
- Initial release.