Title: Mailtree Log Mail
Author: oacstudio
Published: <strong>2022 年 8 月 6 日</strong>
Last modified: 2024 年 7 月 24 日

---

搜索插件

![](https://ps.w.org/mailtree-log-mail/assets/banner-772x250.png?rev=3124627)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/mailtree-log-mail/assets/icon-256x256.png?rev=3124627)

# Mailtree Log Mail

 作者：[oacstudio](https://profiles.wordpress.org/oacstudio/)

[下载](https://downloads.wordpress.org/plugin/mailtree-log-mail.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/mailtree-log-mail/#description)
 * [评价](https://cn.wordpress.org/plugins/mailtree-log-mail/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mailtree-log-mail/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mailtree-log-mail/#developers)

 [支持](https://wordpress.org/support/plugin/mailtree-log-mail/)

## 描述

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.

### Feature list

### Logs:

 * 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.

### Settings:

 * 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).

### Misc:

 * Translation-Ready

### Roadmap:

 * Attachements are not logged or saved. However the message detail will show a 
   notification that an attachement was sent.

## 屏幕截图

 * [[
 * Log overview
 * [[
 * Log entry
 * [[
 * Settings

## 安装

 1. Upload `mailtree.zip` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. 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 `/wp-admin/profile.php`.
 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?

Not yet.
 Attachements are not saved and also not auto exported to an external site.

## 评价

![](https://secure.gravatar.com/avatar/02a76d95b36cbc866cf2652b1a0739943346028e0564ba8735ed59744c41cfe7?
s=60&d=retro&r=g)

### 󠀁[REST API support](https://wordpress.org/support/topic/rest-api-support-30/)󠁿

 [con](https://profiles.wordpress.org/conschneider/) 2022 年 8 月 6 日

Thank you for building this with REST API support. I like the archive function.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/)

## 贡献者及开发者

「Mailtree Log Mail」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ oacstudio ](https://profiles.wordpress.org/oacstudio/)

[帮助将「Mailtree Log Mail」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mailtree-log-mail)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mailtree-log-mail/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/mailtree-log-mail/)，或通过[RSS](https://plugins.trac.wordpress.org/log/mailtree-log-mail/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mailtree-log-mail/)。

## 更新日志

#### 1.0.1

 * Fix: Escape subject output in admin table.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/mailtree-log-mail/)
 * 标签
 * [log](https://cn.wordpress.org/plugins/tags/log/)[mail](https://cn.wordpress.org/plugins/tags/mail/)
   [mail log](https://cn.wordpress.org/plugins/tags/mail-log/)
 *  [高级视图](https://cn.wordpress.org/plugins/mailtree-log-mail/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mailtree-log-mail/reviews/)

## 贡献者

 *   [ oacstudio ](https://profiles.wordpress.org/oacstudio/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mailtree-log-mail/)