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://tw.wordpress.org/plugins/wp-mail-returnpath/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-mail-returnpath/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-mail-returnpath/#installation)
 * [開發資訊](https://tw.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 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.3.8**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-mail-returnpath/)
 * 標籤:
 * [outlook](https://tw.wordpress.org/plugins/tags/outlook/)[phpmailer](https://tw.wordpress.org/plugins/tags/phpmailer/)
   [return-path](https://tw.wordpress.org/plugins/tags/return-path/)[sender](https://tw.wordpress.org/plugins/tags/sender/)
   [wp-mail](https://tw.wordpress.org/plugins/tags/wp-mail/)
 *  [進階檢視](https://tw.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/)