Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Change Sender Name and Email Address in Outgoing WordPress Email


By default, WordPress uses WordPress as From name and [email protected] as the email address for all outgoing WordPress notification emails. Many spam filters block your WordPress emails believing it to be spam. Sometimes it does not even make it to the spam folder.

It is Important to use your own brand name and email address because it increases the authenticity of your brand and increases name recognition among your users. So you should use your brand name and email address to your WordPress outgoing notification emails. In this post, I will explain how to change the default sender name and email address in the outgoing WordPress email.

Change Sender Name and Email Address

Simply copy the following code and paste into your WordPress file. You will need to add the following code in your theme’s functions.php file or a site-specific plugin.

//Change sender name
function wswp_sender_name( $from_email_name ) {
	return 'Your Name';
}

//Change email address
function wswp_sender_email( $from_email_address ) {
    return '[email protected]';
}

//Add WordPress filters 
add_filter( 'wp_mail_from_name', 'wswp_sender_name' );
add_filter( 'wp_mail_from', 'wswp_sender_email' );

replace ’[email protected]’ to your Email Address and ‘Your Name’ to your Name

Now the default WordPress sender name and email address will be replaced with your custom sender name and email address. You can test this by changing password, or any other action that sends WordPress notification email.

You can also use plugin to Change Default Sender Name and Email Address

CB Change Mail Sender
Install this plugin and you will see new menu item ‘CB Mail Sender’ in your Wordpress Admin Bar.

WP Change Default From Email
Install this plugin and you will see new sub-item ‘Change From Email’ under Setting menu in your WordPress admin bar.

WP Change Default Email
Install this plugin and you will see new sub-item ‘WP Change Default Email’ under Setting menu in your WordPress admin bar.

WP Simple Mail Sender
Install this plugin and you will see new sub-item ‘WP Single Email’ under Setting menu in your WordPress admin bar.

Simply enter your sender name and email address to the given text boxes and then click on Save Changes.

The post How to Change Sender Name and Email Address in Outgoing WordPress Email appeared first on Wasim Sama.



This post first appeared on Wasim Sama, please read the originial post: here

Share the post

How to Change Sender Name and Email Address in Outgoing WordPress Email

×

Subscribe to Wasim Sama

Get updates delivered right to your inbox!

Thank you for your subscription

×