Title: wp_mail return-path
Author: barnz99
Published: <strong>2015 年 12 月 18 日</strong>
Last modified: 2023 年 12 月 11 日

---

搜索插件

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

![](https://ps.w.org/wp-mail-returnpath/assets/icon-256x256.png?rev=3008134)

# wp_mail return-path

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

[下载](https://downloads.wordpress.org/plugin/wp-mail-returnpath.zip)

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

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

## 描述

This plugin sets the PHPMailer Sender (return-path) the same as the From address
if it’s not correctly set.

Mitigates the “via” and “The actual sender of” Notification in Outlook and stops
email going to spam/junk because of the mismatch between From and Return-Path headers.

This usually occurs on shared hosting servers when local user / domain is used as
default for the return-path header and WordPress only sets the From header.

## 安装

 1. Unzip all files to the `/wp-content/plugins/` directory
 2. Log into WordPress admin and activate the ‘Latest Tweets’ plugin through the ‘Plugins’
    menu

## 评价

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

### 󠀁[Just what the doctor ordered](https://wordpress.org/support/topic/just-what-the-doctor-ordered-64/)󠁿

 [nigelpentland](https://profiles.wordpress.org/nigelpentland/) 2024 年 11 月 10
日

Works a treat and fixes an otherwise troublesome issue. Many thanks.

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

### 󠀁[Works as expected](https://wordpress.org/support/topic/works-as-expected-854/)󠁿

 [Em](https://profiles.wordpress.org/mcottell/) 2023 年 11 月 20 日

Needed to be able to set return-path email header in my WordPress emails so that
they don’t get flagged as spam. This plugin does the trick.

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

### 󠀁[Thanks for the plugin. To be honest, this should be part of WP.](https://wordpress.org/support/topic/thanks-for-the-plugin-to-be-honest-this-should-be-part-of-wp/)󠁿

 [Anonymous User 9018418](https://profiles.wordpress.org/anonymized-9018418/) 2021
年 10 月 28 日

It works, and it fixes a major flaw of WP.

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

### 󠀁[All good](https://wordpress.org/support/topic/all-good-92/)󠁿

 [asterix30](https://profiles.wordpress.org/asterix30/) 2020 年 6 月 16 日

Finally I am able to use proper email addresses. Thanks

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

### 󠀁[Works as expected](https://wordpress.org/support/topic/works-as-expected-367/)󠁿

 [fuchsws](https://profiles.wordpress.org/fuchsws/) 2018 年 2 月 25 日

… and just does what it should do, thanks!

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

### 󠀁[Working with WP 4.9.2](https://wordpress.org/support/topic/working-with-wp-4-9-2/)󠁿

 [Thomas Maier](https://profiles.wordpress.org/webzunft/) 2018 年 2 月 1 日

It still works and solves the issue it supposed to solve.

 [ 阅读所有9条评价 ](https://wordpress.org/support/plugin/wp-mail-returnpath/reviews/)

## 贡献者及开发者

「wp_mail return-path」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「wp_mail return-path」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-mail-returnpath)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.1

 * Tested with 6.3

#### 1.1.0

 * Tested with 5.6.1
 * Fixed typo on filter_var
 * Changed to a singleton class

#### 1.0.3

 * Tested with WordPress 4.9.4

#### 1.0.2

 * Now only sets the sender if it’s not already set with a valid email address.

#### 1.0.1

 * Tested on 4.4

#### 1.0.0

 * Inital Release

#### 0.0.1

 * Beta Release

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **5,000+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **6.3.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-mail-returnpath/)
 * 标签
 * [outlook](https://cn.wordpress.org/plugins/tags/outlook/)[phpmailer](https://cn.wordpress.org/plugins/tags/phpmailer/)
   [return-path](https://cn.wordpress.org/plugins/tags/return-path/)[sender](https://cn.wordpress.org/plugins/tags/sender/)
   [wp-mail](https://cn.wordpress.org/plugins/tags/wp-mail/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-mail-returnpath/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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