Title: WP Mail From II
Author: Ben Huson
Published: <strong>آگست 22, 2012</strong>
Last modified: دسمبر 19, 2020

---

جستجوی افزونه‌ها

![](https://ps.w.org/wp-mailfrom-ii/assets/banner-772x250.png?rev=993629)

این افزونه **با آخرین 3 نسخه اصلی وردپرس تست نشده است**. ممکن است دیگر نگهداری یا
پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری 
داشته باشد.

![](https://ps.w.org/wp-mailfrom-ii/assets/icon-256x256.png?rev=993629)

# WP Mail From II

 توسط [Ben Huson](https://profiles.wordpress.org/husobj/)

[دانلود](https://downloads.wordpress.org/plugin/wp-mailfrom-ii.2.0.zip)

 * [جزئیات](https://fa-af.wordpress.org/plugins/wp-mailfrom-ii/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/wp-mailfrom-ii/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/wp-mailfrom-ii/#installation)
 * [توسعه](https://fa-af.wordpress.org/plugins/wp-mailfrom-ii/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-mailfrom-ii/)

## توضیحات

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](https://wordpress.org/extend/plugins/wp-mailfrom/)
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](http://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](https://wordpress.org/extend/plugins/wp-mailfrom/)
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](https://trac.wordpress.org/ticket/5007)
for more details.

## نقد و بررسی‌ها

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

### 󠀁[Lets me update Email From](https://wordpress.org/support/topic/lets-me-update-email-from/)󠁿

 [Fahrenhe1t](https://profiles.wordpress.org/fahrenhe1t/) جنوری 3, 2017

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.

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

### 󠀁[The only one that works on WP Engine so far](https://wordpress.org/support/topic/the-only-one-that-works-on-wp-engine-so-far/)󠁿

 [noelsaw](https://profiles.wordpress.org/noelsaw/) نوامبر 18, 2016

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

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

### 󠀁[Works in 4.5.3, keeps emails professional](https://wordpress.org/support/topic/works-in-453-keeps-emails-professional/)󠁿

 [John.Hicks](https://profiles.wordpress.org/johnhicks/) سپتامبر 3, 2016

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.

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

### 󠀁[Solved my problem](https://wordpress.org/support/topic/solved-my-problem-18/)󠁿

 [Knopenman](https://profiles.wordpress.org/knopenman/) سپتامبر 3, 2016

E-mail confirmation of contact form bounced, but this plugin solved the problem

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

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-521/)󠁿

 [Marco Chiesi](https://profiles.wordpress.org/marcochiesi/) سپتامبر 3, 2016

It just does what it is supposed to do. Thanks. P.S. I think these settings should
part of WordPress core.

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

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

 [gebiert](https://profiles.wordpress.org/gebiert/) سپتامبر 3, 2016

Not much to say here: the plugin works as expected.

 [ خواندن تمامی 23 نقد و بررسی‌ ](https://wordpress.org/support/plugin/wp-mailfrom-ii/reviews/)

## توسعه دهندگان و همکاران

“WP Mail From II” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Ben Huson ](https://profiles.wordpress.org/husobj/)

“WP Mail From II” به 2 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “WP Mail From II” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-mailfrom-ii/), را
بررسی کنید [مخزن SVN](https://plugins.svn.wordpress.org/wp-mailfrom-ii/), یا مشترک
شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-mailfrom-ii/) توسط 
[RSS](https://plugins.trac.wordpress.org/log/wp-mailfrom-ii/?limit=100&mode=stop_on_copy&format=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](https://github.com/szepeviktor).
 * Remove deprecated `screen_icon()`.

#### 1.1.1

 * Added Hungarian translation. Props [Viktor Szépe](https://github.com/szepeviktor).
 * 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](https://codex.wordpress.org/Settings_API).
 * Stores name and email as `wp_mailfrom_ii_name` and `wp_mailfrom_ii_email` options.
   Upgrade support is provided for old options.

## اطلاعات

 *  Version **2.0**
 *  Last updated **5 سال پیش**
 *  Active installations **5,000+**
 *  WordPress version ** 4.3 یا بالاتر **
 *  Tested up to **5.6.17**
 *  Languages
 * [English (UK)](https://en-gb.wordpress.org/plugins/wp-mailfrom-ii/), [English (US)](https://wordpress.org/plugins/wp-mailfrom-ii/),
   و [Italian](https://it.wordpress.org/plugins/wp-mailfrom-ii/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii)
 * Tags
 * [email from](https://fa-af.wordpress.org/plugins/tags/email-from/)[from address](https://fa-af.wordpress.org/plugins/tags/from-address/)
   [from email](https://fa-af.wordpress.org/plugins/tags/from-email/)[mail](https://fa-af.wordpress.org/plugins/tags/mail/)
   [mail from](https://fa-af.wordpress.org/plugins/tags/mail-from/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/wp-mailfrom-ii/advanced/)

## امتیازها

 5 out of 5 stars.

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

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

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

## مشارکت کنندگان

 *   [ Ben Huson ](https://profiles.wordpress.org/husobj/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-mailfrom-ii/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3DMFEA5C6ABCL)