Title: Reply-To for WP_Mail
Author: ROBOTSTXT.es
Published: <strong>2024 年 10 月 25 日</strong>
Last modified: 2026 年 8 月 18 日

---

搜索插件

![](https://ps.w.org/replyto/assets/icon.svg?rev=3175408)

# Reply-To for WP_Mail

 作者：[ROBOTSTXT.es](https://profiles.wordpress.org/robotstxt/)

[下载](https://downloads.wordpress.org/plugin/replyto.2.0.3.zip)

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

 [支持](https://wordpress.org/support/plugin/replyto/)

## 描述

The Reply-To for WP_Mail plugin allows you to easily manage the “Reply-To” header
for all emails sent from your WordPress site. With this plugin, you can specify 
a custom email address that recipients will use when replying to your site’s emails,
ensuring that responses go to the correct inbox.

Configure a different Reply-To address for each type of email: password resets, 
comment notifications, user registrations, system updates, and WooCommerce orders.

Two developer filters are available for advanced customization:

 * `wp_mail_replyto_context` — override the detected email context.
 * `wp_mail_replyto_header` — override or suppress the Reply-To header for a specific
   email.

### Compatibility

 * WordPress: 4.7 – 7.1
 * PHP: 5.6 – 8.5

### Compliance

This plugin adheres to the following security measures and review protocols for 
each version:

 * [WordPress Plugin Handbook](https://developer.wordpress.org/plugins/)
 * [WordPress Plugin Security](https://developer.wordpress.org/plugins/wordpress-org/plugin-security/)
 * [WordPress APIs Security](https://developer.wordpress.org/apis/security/)
 * [WordPress Coding Standards](https://github.com/WordPress/WordPress-Coding-Standards)
 * [Plugin Check (PCP)](https://wordpress.org/plugins/plugin-check/)

## 安装

#### Automatic download

Visit the plugin section in your WordPress admin, search for “Reply-To for WP Mail”;
download and install the plugin.

#### Manual download

Extract the contents of the ZIP and upload the contents to the `/wp-content/plugins/
replyto/` directory. Once uploaded, it will appear in your plugin list.

## 常见问题

### Will my existing Reply-To setting be preserved after upgrading from v1?

Yes. The plugin automatically migrates your existing email address and name to the
Default context on the first page load after upgrade.

### What happens if I configure a context but leave it disabled?

Disabled contexts fall back to the Default Reply-To. If no Default is configured,
no Reply-To header is added.

### Does this plugin work with WooCommerce?

Yes. When WooCommerce is active, a dedicated WooCommerce tab appears so you can 
route order emails to a separate reply address.

### Does this plugin work on WordPress Multisite?

Yes. Each site in a Multisite network maintains its own configuration. On uninstall,
data is removed from all sites.

## 评价

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

### 󠀁[The missing part for proper mail setup](https://wordpress.org/support/topic/the-missing-part-for-proper-mail-setup/)󠁿

 [fabiradi](https://profiles.wordpress.org/fabiradi/) 2026 年 8 月 25 日

This plugin serve a rather simple problem, that some of the SMTP plugin seem to 
miss (or hide behind huge PRO versions): When sending mails via services like Resend,
system-generated emails lack a reply-to header, that will cause replies to end up
being rejected, which if not, what I would expect as a user. Wordpress however does
not allow a reply-to header to be set by default. Contrary to a simple PHP file 
with a filter, this plugins does not “hide” the setting from other admins. While
it would be easy to setup something similar (although only as a reply-to fallback),
such a file would be harder to find that a plugin with a proper title and proper
entry in “settings”. Still, the configuration is pretty detailed and allow setting
up different addresses for different email types. Nice!

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

## 贡献者及开发者

「Reply-To for WP_Mail」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ROBOTSTXT.es ](https://profiles.wordpress.org/robotstxt/)
 *   [ Javier Casares ](https://profiles.wordpress.org/javiercasares/)

「Reply-To for WP_Mail」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/replyto/contributors)
为本插件所做的贡献。

[帮助将「Reply-To for WP_Mail」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/replyto)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.0.3

_Release date: 2026-08-18_

**Highlights**

 * Housekeeping release: branding URLs moved to robotstxt.software and declared 
   WordPress support floor set to 4.7.

**Changed**

 * Minimum WordPress version raised from 3.6 to 4.7 (real functional floor: register_setting()
   with array arguments requires WordPress 4.7).
 * Developer URL updated to https://www.robotstxt.software/ and plugin home page
   added (https://www.robotstxt.software/plugins/replyto/).
 * Full changelog now hosted at https://www.robotstxt.software/plugins/replyto/changelog/.
 * Development tooling updated (PHPCS, WPCS, PHPStan, PHPUnit).

**Added**

 * bin/preflight.sh automated pre-deploy verification script.
 * WordPress floor verification (wp-compat) integrated into PHPStan analysis.

**Compatibility**

 * WordPress: 4.7 – 7.1
 * PHP: 5.6 – 8.5

**Tests**

 * PHP Coding Standards: 3.13.6
 * WordPress Coding Standards: 3.4.1
 * PHPStan: 2.2.8 (level 9)
 * PHPUnit: 9.6.36

#### 2.0.2

_Release date: 2026-06-05_

**Highlights**

 * Translations added for Spanish (Spain) and Catalan.
 * WordPress minimum version corrected to 3.6 based on actual function usage (wp-
   compat analysis).

**Changed**

 * Minimum WordPress version updated from 4.1 to 3.6.
 * Tested up to WordPress 7.1.
 * POT file regenerated via WP-CLI i18n.

**Added**

 * Spanish (Spain) translation (es_ES).
 * Catalan translation (ca).

**Compatibility**

 * WordPress: 3.6 – 7.1
 * PHP: 5.6 – 8.5

**Tests**

 * PHP Coding Standards: 3.13.5
 * WordPress Coding Standards: 3.3.0
 * PHPStan: 2.2.2 (level 9)
 * PHPUnit: 9.6.34

#### 2.0.1

_Release date: 2026-06-05_

**Highlights**

 * Major bugfix release addressing three critical issues found during pre-deploy
   audit.

**Fixed**

 * Context cache not resetting between emails in the same PHP process.
 * Duplicate Reply-To header injected when an existing Reply-To was present.
 * Migration hook only running on admin_init — missed WP-CLI activations.
 * RFC 5322 display name quoting now applied only when the name contains special
   characters.

**Added**

 * Developer filters: wp_mail_replyto_context and wp_mail_replyto_header.
 * load_plugin_textdomain() for translation support on WordPress < 4.6.

**Security**

 * sanitize_callback added to legacy option registrations.

**Compatibility**

 * WordPress: 4.1 – 6.9
 * PHP: 5.6 – 8.5

**Tests**

 * PHP Coding Standards: 3.13.5
 * WordPress Coding Standards: 3.3.0
 * PHPStan: 2.2.2 (level 9)
 * PHPUnit: 9.6.34

#### Previous versions

If you want to see the full changelog, visit the [changelog](https://www.robotstxt.software/plugins/replyto/changelog/)
page.

## 社区插件

该插件由社区开发和支持。 [为该插件贡献](https://git.robotstxt.es/ROBOTSTXT/replyto)

## 额外信息

 *  版本 **2.0.3**
 *  最后更新：**1 周前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **7.1**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/replyto/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/replyto/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/replyto/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/replyto)
 * 标签
 * [email](https://cn.wordpress.org/plugins/tags/email/)[mail](https://cn.wordpress.org/plugins/tags/mail/)
   [reply to](https://cn.wordpress.org/plugins/tags/reply-to/)[smtp](https://cn.wordpress.org/plugins/tags/smtp/)
 *  [高级视图](https://cn.wordpress.org/plugins/replyto/advanced/)

## 评级

 5 星（最高 5 星）。

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

[您的评价](https://wordpress.org/support/plugin/replyto/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/replyto/reviews/)

## 贡献者

 *   [ ROBOTSTXT.es ](https://profiles.wordpress.org/robotstxt/)
 *   [ Javier Casares ](https://profiles.wordpress.org/javiercasares/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/replyto/)