{"id":19515,"date":"2012-08-22T13:58:22","date_gmt":"2012-08-22T13:58:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-mailfrom-ii\/"},"modified":"2020-12-19T18:37:03","modified_gmt":"2020-12-19T18:37:03","slug":"wp-mailfrom-ii","status":"publish","type":"plugin","link":"https:\/\/ltz.wordpress.org\/plugins\/wp-mailfrom-ii\/","author":123724,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0","stable_tag":"2.0","tested":"5.6.17","requires":"4.3","requires_php":"","requires_plugins":"","header_name":"WP Mail From II","header_author":"Ben Huson","header_description":"","assets_banners_color":"fec945","last_updated":"2020-12-19 18:37:03","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=3DMFEA5C6ABCL","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-mailfrom-ii\/","header_author_uri":"https:\/\/github.com\/benhuson\/","rating":5,"author_block_rating":0,"active_installs":5000,"downloads":96909,"num_ratings":23,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"husobj","date":"2012-08-22 13:59:16"},"1.0.1":{"tag":"1.0.1","author":"husobj","date":"2015-10-29 22:24:53"},"1.0.2":{"tag":"1.0.2","author":"husobj","date":"2015-10-29 22:24:53"},"1.1":{"tag":"1.1","author":"husobj","date":"2016-09-04 20:05:50"},"1.1.1":{"tag":"1.1.1","author":"husobj","date":"2019-11-07 19:50:21"},"1.2":{"tag":"1.2","author":"husobj","date":"2020-12-14 11:27:46"},"2.0":{"tag":"2.0","author":"husobj","date":"2020-12-19 18:37:03"}},"upgrade_notice":{"1.1.1":"<p>Update translations and bumped WordPress requirements.<\/p>","1.1":"<p>Added options to override default WordPress email addresses and added &#039;wp_mailfrom_ii_default_from&#039; filter.<\/p>","1.0.2":"<p>Only set email address and name if overwriting the default WordPress values.<\/p>","1.0.1":"<p>Correctly style save settings button.<\/p>","1.0":"<p>This version is pretty much a complete re-write, fixes loads of bugs and works with the most recent versions of WordPress.\nIf upgrading from the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-mailfrom\/\">WP Mail From<\/a> plugin your current name an email settings should be copied across but please check.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"23"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":993629,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":993629,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":993629,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":993629,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.1","1.1.1","1.2","2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2438916,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"The settings page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[21653,21654,21652,450,21651],"plugin_category":[41],"plugin_contributors":[77999],"plugin_business_model":[],"class_list":["post-19515","plugin","type-plugin","status-publish","hentry","plugin_tags-email-from","plugin_tags-from-address","plugin_tags-from-email","plugin_tags-mail","plugin_tags-mail-from","plugin_category-communication","plugin_contributors-husobj","plugin_committers-husobj"],"banners":{"banner":"https:\/\/ps.w.org\/wp-mailfrom-ii\/assets\/banner-772x250.png?rev=993629","banner_2x":"https:\/\/ps.w.org\/wp-mailfrom-ii\/assets\/banner-1544x500.png?rev=993629","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-mailfrom-ii\/assets\/icon-128x128.png?rev=993629","icon_2x":"https:\/\/ps.w.org\/wp-mailfrom-ii\/assets\/icon-256x256.png?rev=993629","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-mailfrom-ii\/assets\/screenshot-1.png?rev=2438916","caption":"The settings page"}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to set the email address and name used for emails sent by WordPress by setting the <em>From:<\/em> header.<\/p>\n\n<p>It is an updated and fully re-worked version of the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-mailfrom\/\">WP Mail From<\/a> plugin by Tristan Aston and now works with the latest versions of WordPress.<\/p>\n\n<ul>\n<li>Adds a \"Mail From\" section in the \"Settings\" menu.<\/li>\n<li>The plugin uses the filter hooks <code>wp_mail_from<\/code> and <code>wp_mail_from_name<\/code>.<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<p>Danish translation by Frederik Svarre (<a href=\"http:\/\/www.fslab.dk\/\">www.fslab.dk<\/a>)<\/p>\n\n<!--section=installation-->\n<p>Either install via the WordPress admin plugin installer or...<\/p>\n\n<ol>\n<li>Unzip <code>wp-mailfrom-ii.zip<\/code> in the <code>\/wp-content\/plugins\/<\/code> directory, making sure the folder is called <code>wp-mailfrom-ii<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Visit the admin settings page <code>Settings &gt; Mail From<\/code> and save your preferred name and email address.<\/li>\n<\/ol>\n\n<h4>Upgrading from the old WP Mail From plugin<\/h4>\n\n<p>This version is pretty much a complete re-write, fixes loads of bugs and works with the most recent versions of WordPress.<\/p>\n\n<p>If upgrading from the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-mailfrom\/\">WP Mail From<\/a> plugin your current name an email settings should be copied across but please check.\nTo upgrade simply activate this plugin then deactivate the old WP Mail From plugin.<\/p>\n\n<p>Option naming conventions have changed in this version of the plugin.\nIf 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.<\/p>\n\n<p>The old options used to be retrieved as follows:<\/p>\n\n<pre><code>get_option( 'site_mail_from_name' );\nget_option( 'site_mail_from_email' );\n<\/code><\/pre>\n\n<p>You should now use:<\/p>\n\n<pre><code>get_option( 'wp_mailfrom_ii_name' );\nget_option( 'wp_mailfrom_ii_email' );\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt><h3>Why does the From address still show as the default or show up as 'sent on behalf of' the default address?<\/h3><\/dt>\n<dd><p>Possibly your mail server has added a <em>Sender:<\/em> header or is configured to always set the <em>envelope sender<\/em> to the user calling it.<\/p><\/dd>\n<dt><h3>Why are emails not being sent?<\/h3><\/dt>\n<dd><p>Some hosts may refuse to relay mail from an unknown domain. See <a href=\"http:\/\/trac.wordpress.org\/ticket\/5007\">http:\/\/trac.wordpress.org\/ticket\/5007<\/a> for more details.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<ul>\n<li>Add default values as placeholders in admin fields.<\/li>\n<li>New method of getting sitename in WordPress 5.5+<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Make admin field labels clickable. Props <a href=\"https:\/\/github.com\/szepeviktor\">Viktor Sz\u00e9pe<\/a>.<\/li>\n<li>Remove deprecated <code>screen_icon()<\/code>.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added Hungarian translation. Props <a href=\"https:\/\/github.com\/szepeviktor\">Viktor Sz\u00e9pe<\/a>.<\/li>\n<li>Bump WordPress requirements.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added options to override the default WordPress email address and admin email address.<\/li>\n<li>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.<\/li>\n<li>Delete plugin options when uninstalled.<\/li>\n<li>Reworked as a singleton class.<\/li>\n<li>Remove filter support for original WP MailFrom plugin.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Only set email address and name if overwriting the default WordPress values.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Correctly style \"save settings\" button.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Pretty much re-coded from scratch - now based around a core WP_MailFrom_II class.<\/li>\n<li>Uses the <a href=\"http:\/\/codex.wordpress.org\/Settings_API\">WordPress Settings API<\/a>.<\/li>\n<li>Stores name and email as <code>wp_mailfrom_ii_name<\/code> and <code>wp_mailfrom_ii_email<\/code> options. Upgrade support is provided for old options.<\/li>\n<\/ul>","raw_excerpt":"Allows you to configure the default email address and name used for emails sent by WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19515"}],"author":[{"embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/husobj"}],"wp:attachment":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19515"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19515"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19515"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19515"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19515"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}