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

---

Pretraga dodataka

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

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

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

# WP Mail From II

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

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

 * [Detalji](https://hr.wordpress.org/plugins/wp-mailfrom-ii/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/wp-mailfrom-ii/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/wp-mailfrom-ii/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/wp-mailfrom-ii/#developers)

 [Podrška](https://wordpress.org/support/plugin/wp-mailfrom-ii/)

## Opis

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

## Snimke zaslona

[⌊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. Aktivirajte dodatak kroz izbornik ‘Dodaci’ u WordPressu.
 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' );
    ```

## Pitanja i odgovori

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

## Recenzije

![](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/) 03. siječnja 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. studenoga 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/) 03. rujna 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/) 03. rujna 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/) 03. rujna 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/) 03. rujna 2016.

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

 [ Pročitajte sve 23 recenzije ](https://wordpress.org/support/plugin/wp-mailfrom-ii/reviews/)

## Suradnici i Programeri

“WP Mail From II” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom 
dodatku.

Suradnici

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

“WP Mail From II” je preveden na 2 jezika. Zahvala [prevoditeljima](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii/contributors)
za njihov doprinos.

[Prevedite “WP Mail From II” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/wp-mailfrom-ii/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/wp-mailfrom-ii/)ili se pretplatite
na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/wp-mailfrom-ii/) od 
[RSS](https://plugins.trac.wordpress.org/log/wp-mailfrom-ii/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 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**
 *  Zadnje ažuriranje **prije 6 godina**
 *  Aktivnih instalacija **5.000+**
 *  WordPress inačica ** 4.3 ili viša **
 *  Testirano do **5.6.23**
 *  Jezici
 * [English (UK)](https://en-gb.wordpress.org/plugins/wp-mailfrom-ii/), [English (US)](https://wordpress.org/plugins/wp-mailfrom-ii/),
   i [Italian](https://it.wordpress.org/plugins/wp-mailfrom-ii/).
 *  [Prevedite na vaš jezik](https://translate.wordpress.org/projects/wp-plugins/wp-mailfrom-ii)
 * Oznaka
 * [email from](https://hr.wordpress.org/plugins/tags/email-from/)[from address](https://hr.wordpress.org/plugins/tags/from-address/)
   [from email](https://hr.wordpress.org/plugins/tags/from-email/)[mail](https://hr.wordpress.org/plugins/tags/mail/)
   [mail from](https://hr.wordpress.org/plugins/tags/mail-from/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/wp-mailfrom-ii/advanced/)

## Ocjena

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

## Suradnici

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

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/wp-mailfrom-ii/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3DMFEA5C6ABCL)