Changing sender name and email address in outgoing WordPress emails

How to Change Sender Name in Outgoing WordPress Email

[ad_1]

Do you want to change the default sender name and email address for outgoing WordPress emails?

By default, WordPress uses ‘WordPress’ as the sender name for all outgoing WordPress notification emails. This doesn’t look very professional, and you may want to change that to your business name.

In this article, we will show you how to easily change the default sender name and email address in outgoing WordPress emails.

Changing sender name and email address in outgoing WordPress emails

Why You Should Change the Default Sender Information in WordPress?

WordPress sends several email notifications to the site administrator as well as other users on your website.

This includes important email notifications such as forgot password emails, website error and recovery emails, new user registration, and more.

By default, it uses ‘WordPress’ as the sender’s name and a non-existent email address (wordpress@yourdomain.com) as the sender’s email.

Many spam filters block your WordPress emails, believing them to be junk. Sometimes it does not even make it to the spam folder, but is deleted immediately due to filters.

For more on this topic, look at our guide on how to fix the WordPress not sending email issue.

The outgoing email notifications are important, and you should use your own brand and email address. This increases the authenticity of your brand and increases name recognition among your users.

For instance, if you run an online store, then you would want customers to get email notifications with your store name as the sender.

See our guide on how to get a free business email address for your website in 5 minutes.

Let’s see how to change the default sender name and email address in outgoing WordPress email notifications.

Method 1. Changing Default Sender Name and Email using WP Mail SMTP

This method is easier and recommended for all WordPress users.

For this method, we’ll be using the WP Mail SMTP Pro plugin. It is the best WordPress SMTP plugin, used by over 3 million website owners.

This plugin allows you to easily change the default sender name and email address for outgoing WordPress emails. It also helps you fix the WordPress email deliverability problem.

The first thing you need to do is install and activate the WP Mail SMTP Pro plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit WP Mail SMTP » Settings to configure plugin settings. Under the Mail section, you can simply enter the email address and the name you want to use to send WordPress emails.

Change sender name and email in WordPress using WP Mail SMTP

Below, you can find the options to set up an SMTP server to send WordPress emails. By default, the plugin will use the PHP method provided by your WordPress hosting company which is less reliable.

We recommend using any of the listed SMTP services to properly send WordPress emails for higher guaranteed deliverability.

Select Mailer

If you choose an SMTP service, then follow the on-screen instructions to connect the plugin with your SMTP service provider.

Don’t forget to click on the ‘Save Settings’ button to save your changes.

Test Your WordPress Emails

WP Mail SMTP Pro also allows you to test your WordPress email settings. Simply go to the WP Mail SMTP » Tools page and switch to the ‘Email Test’ tab.

Test WordPress emails using WP Mail SMTP

From here, you just need to provide an email address that you can access and then click on the ‘Send Email’ button.

The plugin will now send a test email to the address you provided. You can check your inbox to make sure that you can receive WordPress emails and that it has the correct sender name and sender email address.

WP Mail SMTP works with all popular WordPress plugins like WooCommerce, WPForms, and more.

For more detailed instructions, you may want to see our article on how to use SMTP to send WordPress emails.

Method 2: Changing Default Sender Name and Email using WP Change Email Sender

This method is only recommended if you don’t use an SMTP service or if the first method is not working.

Using this method does not improve your WordPress email deliverability or make it easier to troubleshoot email issues. However, if your WordPress emails are working, then it will allow you to change the sender name and email address.

First thing, install and activate the WP Change Email Sender plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to go to Settings » General in your WordPress admin area. There you’ll find the ‘Email Sender Name’ and ‘Sender Email Address’ fields.

WP Change Email Sender

You will need to enter the name and email address you want to be used for outgoing WordPress emails.

Don’t forget to click on the ‘Save Changes’ button to store your settings.

That’s all. Your WordPress notification emails will now show the name and email address you entered in the plugin settings.

There is no method provided by the plugin to test your email settings. You can do that by performing actions that generate WordPress notification emails, like creating a new user, requesting a password reset, and more.

Method 3: Changing Sender Name and Email Address using WPCode

Another excellent way to change your sender name and email address are by adding a code snippet. And we recommend WPCode, the easiest and safest way to add code to WordPress.

You usually need to add code to your functions.php file, but WPCode makes it simple and easy to add this code snippet with just a few clicks.

Not only that, but WPCode has many other snippets available to help customize your site. Plus, you can easily add your custom snippets.

First, you need to install the free WPCode plugin. For more information, check out our step-by-step guide on how to install a WordPress plugin.

Next, click on Code Snippets » Add Snippet to your WordPress admin dashboard. Simply type ‘sender’ into the search bar and press the ‘Use snippet’ button under ‘Change Outgoing Email Sender’.

WPCode Use Snippet

Then you’ll be taken to the Edit Snippet page.

Here you need to update the sender’s email and name in the code snippet.

WPCode Edit snippet

And then, switch the toggle to ‘Active’ and click on the ‘Update’ button.

One of the benefits of using WPCode is that it comes with a library filled with pre-made snippets. There’s a good chance you can find some to replace other plugins on your site, such as disabling automatic updates, allowing SVG files to be uploaded, or even using the Classic editor instead of the default block editor.

You don’t have to use the library, either. You can also add any other code you ever need by selecting ‘Add Your Custom Code (New Snippet)’ button instead of searching the library.

Add New Custom Snippet

Then, all you have to do is just paste your own code in and decide where it should run on your site.

For example, you can copy and paste this snippet below into the WPCode’s custom code snippet and customize it to change the sender name and email.

// Please edit the address and name below.
// Change the From address.
add_filter( ‘wp_mail_from’, function ( $original_email_address ) {
return ‘tim.smith@example.com’;
} );

// Change the From name.
add_filter( ‘wp_mail_from_name’, function ( $original_email_from ) {
return ‘Tim Smith’;
} );

We hope this article helped you learn how to change the sender’s name and email address in outgoing WordPress emails. You may also want to see our guide on the best bulk email marketing services to bulk send emails to all your users and our comparison of the best WordPress page builder plugins to customize your site without any code.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Change Sender Name in Outgoing WordPress Email first appeared on WPBeginner.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.