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

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 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://zh-hk.wordpress.org/plugins/wp-mail-returnpath/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/wp-mail-returnpath/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/wp-mail-returnpath/#installation)
 * [開發](https://zh-hk.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

## 其它

 *  Version **1.1.1**
 *  Last updated **2 年之前**
 *  Active installations **5,000+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **6.3.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-mail-returnpath/)
 * Tags
 * [outlook](https://zh-hk.wordpress.org/plugins/tags/outlook/)[phpmailer](https://zh-hk.wordpress.org/plugins/tags/phpmailer/)
   [return-path](https://zh-hk.wordpress.org/plugins/tags/return-path/)[sender](https://zh-hk.wordpress.org/plugins/tags/sender/)
   [wp-mail](https://zh-hk.wordpress.org/plugins/tags/wp-mail/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/wp-mail-returnpath/advanced/)

## 評分

 5 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/wp-mail-returnpath/reviews/)

## 貢獻者

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

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/wp-mail-returnpath/)