跳至主要內容
  • 登入
  • 註冊
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛目錄

  • 我的最愛
  • Beta 版測試
  • 開發者資訊

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

下載

WP Mail From II

由 Ben Huson 開發
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

This plugin allows you to set the email address and name used for emails sent by WordPress by setting the From: header.

It is an updated and fully re-worked version of the WP Mail From plugin by Tristan Aston and now works with the latest versions of WordPress.

  • Adds a “Mail From” section in the “Settings” menu.
  • The plugin uses the filter hooks wp_mail_from and wp_mail_from_name.
  • The priority for the hooks is set to 1 to allow for other plugins that may hook these with the default priority of 10 to override this plugin.

Danish translation by Frederik Svarre (www.fslab.dk)

螢幕擷圖

  • The settings page

安裝方式

Either install via the WordPress admin plugin installer or…

  1. Unzip wp-mailfrom-ii.zip in the /wp-content/plugins/ directory, making sure the folder is called wp-mailfrom-ii.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Visit the admin settings page Settings > Mail From and save your preferred name and email address.

Upgrading from the old WP Mail From plugin

This version is pretty much a complete re-write, fixes loads of bugs and works with the most recent versions of WordPress.

If upgrading from the WP Mail From plugin your current name an email settings should be copied across but please check.
To upgrade simply activate this plugin then deactivate the old WP Mail From plugin.

Option naming conventions have changed in this version of the plugin.
If you accessed either of the options directly for any reason you will need to re-factor you code as support for the old options will be removed in a future version.

The old options used to be retrieved as follows:

get_option( 'site_mail_from_name' );
get_option( 'site_mail_from_email' );

You should now use:

get_option( 'wp_mailfrom_ii_name' );
get_option( 'wp_mailfrom_ii_email' );

常見問題集

Why does the From address still show as the default or show up as ‘sent on behalf of’ the default address?

Possibly your mail server has added a Sender: header or is configured to always set the envelope sender to the user calling it.

Why are emails not being sent?

Some hosts may refuse to relay mail from an unknown domain. See https://trac.wordpress.org/ticket/5007 for more details.

使用者評論

Lets me update Email From

Fahrenhe1t 2017 年 1 月 3 日
I have a Wordpress installation on a local network, sending emails through sSMTP. The mail relay does not allow default "From" addresses to have "wordpress@home" with no ".com." The plugin allows me to change the email address to be valid, and allows mails to go through.

The only one that works on WP Engine so far

noelsaw 2016 年 11 月 18 日
Great plugin. This is the only 1 out 4 (found here on WP.org repo) that would work in one of WP Engine's environment (one of of their different infrastructure providers).

Works in 4.5.3, keeps emails professional

John.Hicks 2016 年 9 月 3 日
The plugin worked for me, using 4.5.3. If you're here, you might be having issues with your hosting account sending emails as something like (BlueHost): username@boxXXX.bluehost.com This is a problem. 1) It doesn't look professional, 2) it hands out your username! This plugin helps you catch any plugins using wordpres@yoursite.com, making it more of a one-stop solution, rather than digging through each of your plugin's settings to possibly find a solution.

Solved my problem

Knopenman 2016 年 9 月 3 日
E-mail confirmation of contact form bounced, but this plugin solved the problem

Simple and effective

Marco Chiesi 2016 年 9 月 3 日
It just does what it is supposed to do. Thanks. P.S. I think these settings should part of WordPress core.

Works

gebiert 2016 年 9 月 3 日
Not much to say here: the plugin works as expected.
閱讀全部 23 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Mail From II〉的開發相關工作。

參與者
  • Ben Huson

〈WP Mail From II〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WP Mail From II〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

2.0

  • Add default values as placeholders in admin fields.
  • New method of getting sitename in WordPress 5.5+

1.2

  • Make admin field labels clickable. Props Viktor Szépe.
  • Remove deprecated screen_icon().

1.1.1

  • Added Hungarian translation. Props Viktor Szépe.
  • Bump WordPress requirements.

1.1

  • Added options to override the default WordPress email address and admin email address.
  • Added ‘wp_mailfrom_ii_default_from’ filter so you can add compatibility if the pluggable wp_mail() function is altered to use a different default email address.
  • Delete plugin options when uninstalled.
  • Reworked as a singleton class.
  • Remove filter support for original WP MailFrom plugin.

1.0.2

  • Only set email address and name if overwriting the default WordPress values.

1.0.1

  • Correctly style “save settings” button.

1.0

  • Pretty much re-coded from scratch – now based around a core WP_MailFrom_II class.
  • Uses the WordPress Settings API.
  • Stores name and email as wp_mailfrom_ii_name and wp_mailfrom_ii_email options. Upgrade support is provided for old options.

中繼資料

  • 最新版本: 2.0
  • 最後更新: 2 年前
  • 啟用安裝數: 9,000+
  • WordPress 版本需求: 4.3 或更新版本
  • 已測試相容的 WordPress 版本: 5.6.10
  • 語言:

    English (UK)、English (US)、及 Italian.

    將這個外掛本地化為你的母語版本

  • 標籤:
    email fromfrom addressfrom emailmailmail from
  • 進階檢視

評分

檢視全部
  • 5 星 23
  • 4 星 0
  • 3 星 0
  • 2 星 0
  • 1 星 0
登入以提交評論

參與者

  • Ben Huson

技術支援

最近 2 個月解決的問題:

總計 1 個問題,已解決 0 個

查看技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機託管
  • 贊助基金會
  • Swag
  • 線上說明
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛目錄
  • 佈景主題目錄
  • 區塊版面配置目錄
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Taiwan 正體中文

  • 造訪我們的 Facebook 粉絲專頁
  • 造訪我們的 Twitter 帳號
  • Visit our Instagram account
  • Visit our LinkedIn account
程式碼,如詩