Allows you to configure the default email address and name used for emails sent by WordPress.
Author: | Ben Huson (profile at wordpress.org) |
WordPress version required: | 4.3 |
WordPress version tested: | 5.6.4 |
Plugin version: | 2.0 |
Added to WordPress repository: | 22-08-2012 |
Last updated: | 19-12-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 23 |
Plugin URI: | https://wordpress.org/plugins/wp-mailfrom-ii/ |
Total downloads: | 93 080 |
Active installs: | 7 000+ |
Click to start download
|
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)
Screenshots
The settings page
FAQ
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.
ChangeLog
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.