Title: WP Mail From II
Author: Ben Huson
Published: <strong>22. awgusta 2012</strong>
Last modified: 19. decembra 2020

---

Tykače pytać

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

Tutón tykač **njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował**. Snano
so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so 
z nowšimi wersijemi WordPress wužiwa.

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

# WP Mail From II

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

[Sćahnyć](https://downloads.wordpress.org/plugin/wp-mailfrom-ii.2.0.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/wp-mailfrom-ii/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/wp-mailfrom-ii/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/wp-mailfrom-ii/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/wp-mailfrom-ii/#developers)

 [Podpěra](https://wordpress.org/support/plugin/wp-mailfrom-ii/)

## Wopisanje

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

## Fota wobrazowki

[⌊The settings page⌉⌊The settings page⌉[

The settings page

## Instalacija

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' );
    ```

## HSP

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

## Pohódnoćenja

![](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. januara 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. nowembra 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. septembra 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. septembra 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. septembra 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. septembra 2016

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

 [ Čitajće 23 pohódnoćenjow ](https://wordpress.org/support/plugin/wp-mailfrom-ii/reviews/)

## Sobuskutkowarjo a wuwiwarjo

„WP Mail From II“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej
přinošowali.

Sobuskutkowarjo

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

„WP Mail From II“ je so do 2 rěčow přełožił. Dźakujemy so [přełožowarjam](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii/contributors)
za jich přinoški.

[Přełožće „WP Mail From II“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/wp-mailfrom-ii/), hladajće
do [SVN-repozitorija](https://plugins.svn.wordpress.org/wp-mailfrom-ii/) abo abonujće
[wuwiwanski protokol](https://plugins.trac.wordpress.org/log/wp-mailfrom-ii/) přez
[RSS](https://plugins.trac.wordpress.org/log/wp-mailfrom-ii/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

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

## Meta

 *  Version **2.0**
 *  Last updated **6 lět**
 *  Active installations **5.000+**
 *  WordPress version ** 4.3 abo nowši **
 *  Tested up to **5.6.21**
 *  Languages
 * [English (UK)](https://en-gb.wordpress.org/plugins/wp-mailfrom-ii/), [English (US)](https://wordpress.org/plugins/wp-mailfrom-ii/)
   a [Italian](https://it.wordpress.org/plugins/wp-mailfrom-ii/).
 *  [Přełožće do swojeje rěče](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii)
 * Tags
 * [email from](https://hsb.wordpress.org/plugins/tags/email-from/)[from address](https://hsb.wordpress.org/plugins/tags/from-address/)
   [from email](https://hsb.wordpress.org/plugins/tags/from-email/)[mail](https://hsb.wordpress.org/plugins/tags/mail/)
   [mail from](https://hsb.wordpress.org/plugins/tags/mail-from/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/wp-mailfrom-ii/advanced/)

## Pohódnoćenja

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

## Sobuskutkowarjo

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

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/wp-mailfrom-ii/)

## Darić

Chceće dalewuwiwanje tutoho tykača podpěrać?

 [ Za tutón tykač darić ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3DMFEA5C6ABCL)