How to Send a Test Email From WordPress (The Easy Way)

Do you want to test whether your WordPress website is successfully sending email?

WordPress sends emails to you and your site users for many different reasons, from passwords reset emails to purchase receipts. That’s why it’s so important to test whether your website is sending email reliably.

In this article, we’ll show you how to send a test email from WordPress to make sure there are no problems with your email configuration.

How to Send a Test Email From WordPress

Why Test That Your WordPress Email Is Working Reliably?

All too often we hear that users have trouble with WordPress not sending emails. That’s a problem because you rely on email to keep your website running smoothly.

For example, your site sends emails to welcome new users, reset lost passwords, send order forms, and notify you when a new user registers or someone fills in your contact form.

There are a few things that you can do to improve your WordPress email reliability. For example, we recommend you send your email through a reliable SMTP service provider and set up logs of the emails sent by your website so you can monitor their success.

When you first set up your WordPress website or SMTP service, it’s smart to confirm that your website’s email is working correctly by sending a test email.

With that being said, let’s look at how to send a test email from WordPress.

How to Send a Test Email From WordPress

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

After that, you will need to configure the plugin to work with your SMTP mailing service. The WP Mail SMTP wizard will take you through the process step by step, or you can follow our guides on how to set up WP Mail SMTP with Sendinblue, Gmail, Microsoft Outlook, Amazon SES, or your web host.

Configure WP Mail SMTP to Work With Your SMTP Mailing Service

Once you have finished setting up WP Mail SMTP, you can send a test email to make sure it is configured correctly.

To do that, you need to head over to WP Mail SMTP » Tools in your admin menu, where you’ll see the ‘Email Test’ page. By default, the test email will be sent to your site’s admin email address, but you can change this by typing a different email address into the ‘Send To’ field.

Navigate to WP Mail SMTP » Tools

We recommend you keep the ‘HTML’ setting in the ‘On’ position, but if you want to send a plain text email, then you can switch it off.

Once you’re happy with the settings, simply click the ‘Send Email’ button, and a test email will be sent to the address you entered.

Viewing the Email Test Results

After WP Mail SMTP attempts to send the test email, it will give you immediate feedback on whether the test was successful or not.

If your WordPress email was set up correctly, then the test email was sent without any problems. You will see a ‘Success!’ notification displayed on the screen.

WP Mail SMTP Success! Notification

Now you’ll want to check and see if the test email actually did arrive at the email address it was sent to.

You should find an email like the one below in your inbox. If you do, congratulations! Email is working properly on your WordPress site.

WP Mail SMTP Success! Email

However, if there are problems with your email configuration, then the test email will not be able to be sent at all.

You’ll be shown a message that describes the error or problem, along with some steps you can take to resolve it.

WP Mail SMTP Failure Notification

After following the steps to fix the issues, you should send another test email to confirm that your WordPress email is now working.

If the Domain Settings Need to Be Changed

Even if the test email was successful, you may have received a notification listing some issues. That’s because the test checks that your ‘from’ address’s domain is configured correctly in your DNS records.

This can improve the deliverability of your email, so that it doesn’t get blocked or sent to the spam folder.

The notification will list and explain any issues, and provide links to step by step guides that will help you configure your DNS records correctly.

WP Mail SMTP Domain Check Notification

Once you’ve finished fixing the issues, you should send another test email to make sure that everything is working properly now.

If You Need Professional Help

Many beginners find that configuring their WordPress email is tricky. Luckily, if you can’t get WordPress email working on your own, then you can ask an expert to set it up for you.

The good news is that a WP Mail SMTP Elite license includes White Glove Setup. This means that someone from their expert team will configure your email settings for you.

We hope this tutorial helped you learn how to send a test email from WordPress. You may also want to learn how to get a free email domain, or check out our list of must have plugins to grow your site.

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 Send a Test Email From WordPress (The Easy Way) first appeared on WPBeginner.

How to Change Sender Name in Outgoing WordPress Email

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 very 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 email.

Many spam filters block your WordPress emails believing it to be spam. Sometimes it does not even make it to the spam folder.

For more on this topic, take a look at our guide on how to fix 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.

Having said that, 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 on the market, used by over 1 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.

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 that you can find the options to set up an SMTP server to send WordPress emails. By default, the plugin will use 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 » Settings 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 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 a CB Change Mail Sender

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

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 sender name and email address.

First thing you need to do is install and activate the CB Change Mail Sender plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you will notice a new menu item labeled CB Mail Sender in your WordPress admin bar. Clicking on it will take you to plugin’s settings page.

CB Mail 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 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: Manually Change Sender Name and Email Address

This method is not recommended for beginners. This method requires you to paste code into your WordPress files. It also does not fix any email deliverability issues and is harder to troubleshoot.

If you are new to adding code in WordPress, then take a look at our beginners guide on pasting snippets from web into WordPress.

You will need to add the following code in your theme’s functions.php file or a site-specific plugin.


// Function to change email address
function wpb_sender_email( $original_email_address ) {
    return 'tim.smith@example.com';
}

// Function to change sender name
function wpb_sender_name( $original_email_from ) {
	return 'Tim Smith';
}

// Hooking up our functions to WordPress filters 
add_filter( 'wp_mail_from', 'wpb_sender_email' );
add_filter( 'wp_mail_from_name', 'wpb_sender_name' );

This code simply replaces the default WordPress sender name and email address with your custom sender name and email address.

You can test this by adding a new user, changing passwords, or any other action that sends a WordPress notification email.

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 email 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 appeared first on WPBeginner.