Title: Reply-To for WP_Mail
Author: Javier Casares
Published: <strong>25 Tháng 10, 2024</strong>
Last modified: 20 Tháng 1, 2026

---

Tìm kiếm plugin

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

# Reply-To for WP_Mail

 Bởi [Javier Casares](https://profiles.wordpress.org/javiercasares/)

[Tải về](https://downloads.wordpress.org/plugin/replyto.2.0.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/replyto/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/replyto/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/replyto/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/replyto/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/replyto/)

## Mô tả

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.

### Compatibility

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

## Cài đặt

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

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Reply-To for WP_Mail” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

“Reply-To for WP_Mail” đã được dịch qua 2 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/replyto/contributors)
vì đóng góp của họ.

[Dịch “Reply-To for WP_Mail” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/replyto)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/replyto/), check out [SVN repository](https://plugins.svn.wordpress.org/replyto/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/replyto/)
qua [RSS](https://plugins.trac.wordpress.org/log/replyto/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### [2.0.0] – 2026-01-20

**Major Release – Context-Based Reply-To Routing**

This major release combines multiple enhancements including context-based email 
routing, security improvements, and Reply-To name support.

**Added**

 * Context-based Reply-To routing – Configure different Reply-To addresses for different
   types of emails.
 * Six email contexts: Default, Authentication & Security, Comments & Moderation,
   Users & Registration, System & Updates, WooCommerce.
 * WooCommerce tab only visible when WooCommerce plugin is active.
 * Intelligent context detection using backtrace analysis.
 * Modern tabbed user interface using WordPress native nav-tab-wrapper.
 * Visual status indicators on each tab (green = active with email, red = inactive
   or no email).
 * Legend explaining status indicators for easy understanding.
 * Enable/disable toggle for each context (except Default which is always active).
 * Fallback chain: Specific context  Default context  Legacy settings.
 * Detailed descriptions and examples for each context in the admin UI.
 * Reply-To Name field – Now you can specify a name to display with the Reply-To
   email address (e.g., “Support Team [support@example.com](https://vi.wordpress.org/plugins/replyto/support@example.com?output_format=md)“).
 * Name sanitization with header injection prevention.
 * Length validation for name field (255 characters maximum).
 * Created uninstall.php for proper cleanup of plugin data on uninstallation.
 * Implemented logging of configuration changes for security auditing (requires 
   WP_DEBUG_LOG).
 * Added DNS validation for email domains with user-friendly warnings.
 * Enhanced email validation with additional security checks.
 * Added success/error messages for better user feedback.

**Changed**

 * Complete rewrite of settings page with modern tab-based interface.
 * Email detection now uses backtrace analysis for accurate context identification.
 * Settings structure changed from individual options to array-based configuration(
   wp_mail_replyto_contexts).
 * Improved sanitization and validation for multiple contexts.
 * Enhanced logging with context information in debug mode.
 * Email header construction now supports both name and email format.
 * Updated sanitize callback to use custom function with enhanced validation.
 * Improved security documentation and code comments.

**Security Enhancements**

 * Added explicit header injection prevention with defense-in-depth validation.
 * Implemented strict RFC 5322 email format validation.
 * Enhanced input sanitization with multiple validation layers.

**Technical**

 * New database structure: Single serialized array instead of multiple options (
   more efficient).
 * Backward compatible: Legacy options (v1.0.x) still work during migration period.
 * Context detection covers: Password resets, comments, user registration, system
   updates, WooCommerce emails.
 * Clean uninstallation: Removes all options including migration flags.
 * Automatic migration from v1.0.x – Your existing settings are preserved in the
   Default context.

**Compatibility**

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

**Tests**

 * PHP Coding Standards: 3.13.4
 * WordPress Coding Standards: 3.3.0
 * Plugin Check (PCP): 1.4.0

#### [1.0.3] – 2025-04-08

**Changed**

 * Compatible with WordPress 6.8.
 * Improved functions documentation.

**Compatibility**

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

**Tests**

 * PHP Coding Standards: 3.12.1
 * WordPress Coding Standards: 3.1.0
 * Plugin Check (PCP): 1.4.0

#### [1.0.2] – 2024-11-02

**Fixed**

 * Preparation for GlotPress.

#### [1.0.1] – 2024-10-31

**Added**

 * Translation ready.

#### [1.0.0] – 2024-10-22

**Added**

 * First version.

## Plugin cộng đồng

Plugin này được phát triển và hỗ trợ bởi một cộng đồng. [Đóng góp cho plugin này](https://github.com/javiercasares/replyto)

## Meta

 *  Phiên bản **2.0.0**
 *  Cập nhật lần cuối **4 tháng trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 4.1 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Phiên bản PHP ** 5.6 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/replyto/), [Spanish (Chile)](https://cl.wordpress.org/plugins/replyto/),
   và [Spanish (Spain)](https://es.wordpress.org/plugins/replyto/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/replyto)
 * Thẻ
 * [email](https://vi.wordpress.org/plugins/tags/email/)[mail](https://vi.wordpress.org/plugins/tags/mail/)
   [reply to](https://vi.wordpress.org/plugins/tags/reply-to/)[smtp](https://vi.wordpress.org/plugins/tags/smtp/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/replyto/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/replyto/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/replyto/)