<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; wordpress email</title>
	<atom:link href="http://www.wpwife.com/category/wordpress-email/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Change Sender Name in Outgoing WordPress Email</title>
		<link>http://www.wpwife.com/wordpress-plugins/how-to-change-sender-name-in-outgoing-wordpress-email</link>
		<comments>http://www.wpwife.com/wordpress-plugins/how-to-change-sender-name-in-outgoing-wordpress-email#comments</comments>
		<pubDate>Thu, 19 Jan 2023 18:23:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[change sender address in wordpress emails]]></category>
		<category><![CDATA[Change sender name in wordpress emails]]></category>
		<category><![CDATA[wordpress email]]></category>
		<category><![CDATA[wordpress email issues]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=36859</guid>
		<description><![CDATA[
<p>Do you want to change the default sender name and email address for outgoing WordPress emails? By default, WordPress uses &#8216;WordPress&#8217; as the sender name for all outgoing WordPress notification emails. This doesn&#8217;t look very professional, and you may want to change that to your&#8230;&#160;<strong><a href="https://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/">How to Change Sender Name in Outgoing WordPress Email</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to change the default sender name and email address for outgoing WordPress emails?</p>



<p>By default, WordPress uses &#8216;WordPress&#8217; as the sender name for all outgoing WordPress notification emails. This doesn&#8217;t look very professional, and you may want to change that to your <a title="Business Name Generator" href="https://www.wpbeginner.com/tools/business-name-generator/">business name</a>.</p>



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



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/how-to-change-sender-name-in-outgoing-wordpress-email-og.png" alt="Changing sender name and email address in outgoing WordPress emails" class="wp-image-158791" title="Changing sender name and email address in outgoing WordPress emails" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/how-to-change-sender-name-in-outgoing-wordpress-email-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/how-to-change-sender-name-in-outgoing-wordpress-email-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>Why You Should Change the Default Sender Information in WordPress?</h4>



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



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



<p>By default, it uses &#8216;WordPress&#8217; as the sender&#8217;s name and a non-existent email address (wordpress@yourdomain.com) as the sender&#8217;s email.</p>



<p>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.</p>



<p>For more on this topic, look at our guide on <a title="How to Fix WordPress Not Sending Email Issue" href="https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/">how to fix the WordPress not sending email issue</a>.</p>



<p>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.</p>



<p>For instance, if you run an <a title="How to Start an Online Store in 2020 (Step by Step)" href="https://www.wpbeginner.com/wp-tutorials/how-to-start-an-online-store/">online store</a>, then you would want customers to get email notifications with your store name as the sender.</p>



<p>See our guide on how to get a <a title="How to Create a Free Business Email Address in 5 Minutes (Step by Step)" href="https://www.wpbeginner.com/beginners-guide/how-to-create-a-free-business-email-address-in-5-minutes-step-by-step/">free business email address</a> for your website in 5 minutes.</p>



<p>Let&#8217;s see how to change the default sender name and email address in outgoing WordPress email notifications.</p>



<h4>Method 1. Changing Default Sender Name and Email using WP Mail SMTP</h4>



<p>This method is easier and recommended for all WordPress users.</p>



<p>For this method, we&#8217;ll be using the <a href="https://wpmailsmtp.com/"  title="WP Mail SMTP - Fix WordPress Email Deliverability" rel="noopener">WP Mail SMTP Pro</a> plugin. It is the best WordPress SMTP plugin, used by over 3 million website owners.</p>



<p>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.</p>



<p>The first thing you need to do is install and activate the <a href="https://wpmailsmtp.com/"  title="WP Mail SMTP - Fix WordPress Email Deliverability" rel="noopener">WP Mail SMTP Pro</a> plugin. For more details, see our step-by-step guide on <a title="Step by Step Guide to Install a WordPress Plugin for Beginners" href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/">how to install a WordPress plugin</a>.</p>



<p>Upon activation, you need to visit <strong>WP Mail SMTP » Settings</strong> 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.</p>



<figure class="wp-block-image size-full"><img width="680" height="424" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/changesendernameemail.png" alt="Change sender name and email in WordPress using WP Mail SMTP" class="wp-image-158100" title="Change sender name and email in WordPress using WP Mail SMTP" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/changesendernameemail.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/changesendernameemail-300x187.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>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 <a href="https://www.wpbeginner.com/wordpress-hosting/" title="How to Choose the Best WordPress Hosting">WordPress hosting</a> company which is less reliable.</p>



<p>We recommend using any of the listed <a href="https://www.wpbeginner.com/showcase/best-smtp-service-providers-with-high-email-deliverability/" title="7 Best SMTP Service Providers with High Email Deliverability">SMTP services</a> to properly send WordPress emails for higher guaranteed deliverability.</p>



<figure class="wp-block-image size-full"><img width="680" height="398" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/selectmailer-1.png" alt="Select Mailer" class="wp-image-158101" title="Select mailer" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/selectmailer-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/selectmailer-1-300x176.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



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



<p>Don&#8217;t forget to click on the &#8216;Save Settings&#8217; button to save your changes.</p>



<p><strong>Test Your WordPress Emails</strong></p>



<p>WP Mail SMTP Pro also allows you to test your WordPress email settings. Simply go to the <strong>WP Mail SMTP » Tools</strong> page and switch to the &#8216;Email Test&#8217; tab.</p>



<figure class="wp-block-image size-full"><img width="680" height="450" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/testwordpressemail.png" alt="Test WordPress emails using WP Mail SMTP" class="wp-image-158102" title="Test WordPress emails using WP Mail SMTP" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/testwordpressemail.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/testwordpressemail-300x199.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>From here, you just need to provide an email address that you can access and then click on the &#8216;Send Email&#8217; button.</p>



<p>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.</p>



<p>WP Mail SMTP works with all popular WordPress plugins like <a title="WooCommerce Made Simple: A Step-by-Step Tutorial [+ Resources]" href="https://www.wpbeginner.com/wp-tutorials/woocommerce-tutorial-ultimate-guide/">WooCommerce</a>, <a href="https://wpforms.com/"  title="WPForms - Drag &amp; Drop WordPress Form Builder" rel="noopener">WPForms</a>, and more.</p>



<p>For more detailed instructions, you may want to see our article on <a title="How to Use SMTP Server to Send WordPress Emails" href="https://www.wpbeginner.com/wp-tutorials/how-to-use-smtp-server-to-send-wordpress-emails/">how to use SMTP to send WordPress emails</a>.</p>



<h4>Method 2: Changing Default Sender Name and Email using WP Change Email Sender</h4>



<p>This method is only recommended if you don&#8217;t use an SMTP service or if the first method is not working.</p>



<p>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.</p>



<p>First thing, install and activate the <a href="https://wordpress.org/plugins/wp-change-email-sender/"  rel="noopener nofollow" title="WP Change Email Sender">WP Change Email Sender</a> plugin. For more details, see our step-by-step guide on <a title="Step by Step Guide to Install a WordPress Plugin for Beginners" href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/">how to install a WordPress plugin</a>.</p>



<p>Upon activation, you need to go to <strong>Settings » General</strong> in your WordPress admin area. There you&#8217;ll find the &#8216;Email Sender Name&#8217; and &#8216;Sender Email Address&#8217; fields.</p>



<figure class="wp-block-image size-full"><img width="680" height="309" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/wpchangeemailsender.png" alt="WP Change Email Sender" class="wp-image-158103" title="CB Mail Sender" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/wpchangeemailsender.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/wpchangeemailsender-300x136.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



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



<p>Don&#8217;t forget to click on the &#8216;Save Changes&#8217; button to store your settings.</p>



<p>That&#8217;s all. Your WordPress notification emails will now show the name and email address you entered in the plugin settings.</p>



<p>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 <a href="https://www.wpbeginner.com/wp-tutorials/how-to-customize-wordpress-reset-password-page/" title="How to Customize the WordPress Reset Password Page">password reset</a>, and more.</p>



<h4>Method 3: Changing Sender Name and Email Address using WPCode</h4>



<p>Another excellent way to change your sender name and email address are by adding a code snippet. And we recommend&nbsp;<a href="https://wpcode.com/"  rel="noreferrer noopener">WPCode</a>, the easiest and safest way to add code to WordPress.</p>



<p>You usually need to&nbsp;<a href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/">add code to your functions.php file</a>, but WPCode makes it simple and easy to add this code snippet with just a few clicks.</p>



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



<p>First, you need to install the&nbsp;<a href="https://wordpress.org/plugins/insert-headers-and-footers"  rel="noreferrer noopener">free WPCode plugin</a>. For more information, check out our step-by-step guide on&nbsp;<a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/">how to install a WordPress plugin</a>.</p>



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



<figure class="wp-block-image size-full"><img width="680" height="285" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/wpcodeusesnippet.png" alt="WPCode Use Snippet" class="wp-image-159125" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/wpcodeusesnippet.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/wpcodeusesnippet-300x126.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Then you&#8217;ll be taken to the Edit Snippet page. </p>



<p>Here you need to update the sender&#8217;s email and name in the code snippet.</p>



<figure class="wp-block-image size-full"><img width="680" height="324" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/editsnippet.png" alt="WPCode Edit snippet" class="wp-image-159129" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/editsnippet.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/editsnippet-300x143.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



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



<p>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&nbsp;<a href="https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-update-email-notification-in-wordpress/" title="">disabling automatic updates</a>, allowing SVG files to be uploaded, or even using the&nbsp;<a href="https://www.wpbeginner.com/plugins/how-to-disable-gutenberg-and-keep-the-classic-editor-in-wordpress/" title="">Classic editor</a>&nbsp;instead of the default block editor.</p>



<p>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.</p>



<figure class="wp-block-image size-full"><img width="680" height="281" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/addnewcustomsnippet.png" alt="Add New Custom Snippet" class="wp-image-159127" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/addnewcustomsnippet.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/addnewcustomsnippet-300x124.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Then, all you have to do is just&nbsp;<a href="https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/">paste your own code</a>&nbsp;in and decide where it should run on your site.</p>



<p>For example, you can copy and paste this snippet below into the WPCode&#8217;s custom code snippet and customize it to change the sender name and email.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
// 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';
} );
</pre></div>


<p>We hope this article helped you learn how to change the sender&#8217;s name and email address in outgoing WordPress emails. You may also want to see our guide on the <a title="7 Best Email Marketing Services for Small Business (2020)" href="https://www.wpbeginner.com/showcase/best-email-marketing-services/">best bulk email marketing services</a> to bulk send emails to all your users and our comparison of the <a title="6 Best Drag and Drop WordPress Page Builders Compared (2020)" href="https://www.wpbeginner.com/beginners-guide/best-drag-and-drop-page-builders-for-wordpress/">best WordPress page builder plugins</a> to customize your site without any code.</p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/">How to Change Sender Name in Outgoing WordPress Email</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/wordpress-plugins/how-to-change-sender-name-in-outgoing-wordpress-email/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
		<item>
		<title>How to Fix WordPress Not Sending Email Issue</title>
		<link>http://www.wpwife.com/tutorials/how-to-fix-wordpress-not-sending-email-issue</link>
		<comments>http://www.wpwife.com/tutorials/how-to-fix-wordpress-not-sending-email-issue#comments</comments>
		<pubDate>Tue, 09 Jan 2018 11:55:35 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[how to send email in wordpress using gmail smtp server]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[use gmail for wordpress emails]]></category>
		<category><![CDATA[wordpress email]]></category>
		<category><![CDATA[wordpress not sending email]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=22770</guid>
		<description><![CDATA[
<p>One of the most commonly asked questions on WPBeginner is how to fix WordPress not sending email problem. Many of our beginner level users ask us why their contact form plugin is not sending emails, or why they are not seeing any WordPress notifications. In&#8230;&#160;<strong><a href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/">Read More &#187;</a></strong></p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/">How to Fix WordPress Not Sending Email Issue</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>One of the most commonly asked questions on WPBeginner is how to fix WordPress not sending email problem. Many of our beginner level users ask us why their <a href="http://www.wpbeginner.com/plugins/5-best-contact-form-plugins-for-wordpress-compared/" title="5 Best Contact Form Plugins for WordPress Compared">contact form plugin</a> is not sending emails, or why they are not seeing any WordPress notifications. In this article, we will show you how to fix WordPress not sending email issue.</p>
<p><img title="fixingwpemail" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/fixingwpemail.png" alt="" width="550" height="340" class="alignnone size-full wp-image-49128" /></p>
<h4>Why You Are Not Getting Emails from Your WordPress Site</h4>
<p>The most common reason for this is that your <a href="http://www.wpbeginner.com/wordpress-hosting/" title="How to Choose the Best WordPress Hosting?">WordPress hosting</a> server is not configured to use <a href="http://www.wpbeginner.com/glossary/php/" title="PHP">PHP</a> mail() function.</p>
<p>Even if they would allow it to work, many email service providers use a variety of tools to reduce email spam. These tools often try to detect that an email is originating from the location it claims to be originating from, and often emails sent by WordPress websites fail this test. </p>
<p>In such cases, when an email is sent out from your WordPress site, it never even makes into spam folder of the destination. This is why we recommend not <a href="http://www.wpbeginner.com/opinion/why-you-should-never-use-wordpress-to-send-newsletter-emails/" title="Why You Should Never Use WordPress to Send Newsletter Emails">using WordPress to send your email newsletter</a>.</p>
<p>This is also the reason why that we recommend using SMTP to send emails in WordPress. SMTP (Simple Mail Transfer Protocol) is the industry standard for sending emails. Unlike PHP mail function, SMTP uses proper authentication which increases email deliverability.</p>
<p>There are many different SMTP services available, but in this article we will show only two that we recommend: MailGun and Gmail.</p>
<h4>Sending Your WordPress Emails Using Mailgun</h4>
<p>Mailgun is a popular email service provider. They allow website owners to send large amounts of emails with high deliverability.</p>
<p>As a dedicated email service provider, they spend a lot of money and time on making sure that your email reaches its destination.</p>
<p>While Mailgun is a paid service, it offers first 10,000 emails for free every month. That’s more than enough for most folks who just <a href="http://www.wpbeginner.com/start-a-wordpress-blog/" title="Ultimate Guide: How to Start a WordPress Blog (Step by Step)">started their blog</a> or <a href="http://www.wpbeginner.com/guides/" title="Ultimate Guide: How to Make a Website in 2018 – Step by Step Guide (Free)">website</a>.</p>
<p>Here is how to setup your WordPress site to use Mailgun for sending emails.</p>
<p>First you need to signup on the <a href="https://www.mailgun.com/"  title="Mailgun" rel="nofollow">Mailgun website</a>. After signing up, you need to click on the “Add your domain” button.</p>
<p><img title="Add your domain to Mailgun" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/mailgun-add-domain.png" alt="Add your domain to Mailgun" width="520" height="304" class="alignnone size-full wp-image-49129" /></p>
<p>You will now see an add domain page. Here you need to add a subdomain on your WordPress website’s domain name. For example, mail1.yourdomain.com.</p>
<p>You can create a new subdomain on your existing domain name by following the instructions below.</p>
<p>First, you need to visit the cPanel dashboard of your hosting account. Next, click on the subdomains icon under the domains section.</p>
<p><img title="cPanel subdomains" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/cpanel-subdomains.png" alt="cPanel subdomains" width="520" height="120" class="alignnone size-full wp-image-49130" /></p>
<p>On the next page, you need to enter your subdomain and then select your root domain from the drop down menu.</p>
<p><img title="Enter your subdomain" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/entersubdomain.png" alt="Enter your subdomain" width="520" height="190" class="alignnone size-full wp-image-49131" /></p>
<p>After that click on the create button, and you will see a success message that your subdomain has been created.</p>
<p>You can now add this subdomain on Mailgun’s add domain page. After you add the domain, Mailgun will show you a few DNS records.</p>
<p><img title="Mailgun DNS records" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/mgdnsrecords.png" alt="Mailgun DNS records" width="520" height="217" class="alignnone size-full wp-image-49132" /></p>
<p>Switch back to your cPanel dashboard and then click on ‘Advanced DNS Zone Editor’.</p>
<p><img title="DNS zone editor" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/dnszoneeditor.png" alt="DNS zone editor" width="520" height="122" class="alignnone size-full wp-image-49133" /></p>
<p>You will be asked to select the domain for which you want to change the DNS records. Once you select your root domain name, you will see options to add new DNS records.</p>
<p>The first TXT entry will be your subdomain. You need to start by entering the subdomain in the Name field and then select TXT as record type. After that you need to add 14400 in TTL field and copy the value shown on Mailgun domain verification settings page into TXT Data field.</p>
<p><img title="Adding DNS TXT record" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/dnstxtrecord.png" alt="Adding DNS TXT record" width="520" height="162" class="alignnone size-full wp-image-49134" /></p>
<p>Repeat the process to add the other TXT record.</p>
<p>Once you are done, switch back to the cPanel dashboard and click on the MX Entry icon.</p>
<p><img title="MX Entry icon in cPanel" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/mxentrymenu.png" alt="MX Entry icon in cPanel" width="520" height="268" class="alignnone size-full wp-image-49135" /></p>
<p>You will be asked to select your root domain, then scroll down to the bottom of the page. There you will see the option to add a new MX Entry.</p>
<p>Enter the priority and destination values and click on create new record button.</p>
<p>You have successfully added your domain to Mailgun. It will need to verify that your domain has proper DNS records. This may take a while because DNS records may take sometime to update.</p>
<p>You can check the status of your domain verification by visiting the Domains page in your Mailgun account.</p>
<p>Mailgun will show active status next to your domain name once it can verify the DNS changes you made.</p>
<p><img title="Mailgun active domains" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/mailgundomains.png" alt="Mailgun active domains" width="520" height="288" class="alignnone size-full wp-image-49136" /></p>
<p>Once your domain is active, you can setup your WordPress site to start using Mailgun for sending emails.</p>
<p>First thing you need to do is install and activate the <a href="https://wordpress.org/plugins/wp-mail-smtp/"  title="WP Mail SMTP" rel="nofollow">WP Mail SMTP</a> plugin. For more details, see our step by step guide on <a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="Step by Step Guide to Install a WordPress Plugin for Beginners">how to install a WordPress plugin</a>.</p>
<p>Upon activation, you need to visit <strong>Settings &raquo; WP Mail SMTP</strong> to configure plugin settings. First you need to provide your sender email address and the name you want to use for the sender. </p>
<p><img title="WP Mail SMTP settings" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/wpmailsmtp-settings.png" alt="WP Mail SMTP settings" width="550" height="330" class="alignnone size-full wp-image-49145" /></p>
<p>Next, you need to select Mailgun as your mailer and check the box next to set the return path to match the from email address. </p>
<p><img title="Select Mailgun as your mailer" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/selectmailer.png" alt="Select Mailgun as your mailer" width="550" height="243" class="alignnone size-full wp-image-49146" /></p>
<p>Lastly, you need to provide your Mailgun private API key and the mailgun sub-domain. Click on the links below each field to get this information from your Mailgun account. </p>
<p><img title="API key and domain name" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/apikeydomain.png" alt="API key and domain name" width="550" height="240" class="alignnone size-full wp-image-49147" /></p>
<p>Don&#8217;t forget to click on save settings button to store your changes. </p>
<p>That’s all, you have successfully setup your WordPress site to send emails using Mailgun.</p>
<p>You can now click on the &#8216;Email Test&#8217; tab on plugin&#8217;s settings page to send a test email and see if everything is working fine. </p>
<p><img title="Email test" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/emailtest.png" alt="Email test" width="550" height="284" class="alignnone size-full wp-image-49148" /></p>
<h4>Sending WordPress Emails Using Gmail SMTP Servers</h4>
<p>Another alternative is to send your WordPress emails is using Gmail SMTP servers. You can use any regular Gmail account with this method to send out your emails. However, your email deliverability will be much better if you are using <a href="http://www.wpbeginner.com/refer/google-apps-work/" title="Google Apps for Work">Google Apps for Work</a> with your custom email address. See our guide on how to <a href="http://www.wpbeginner.com/beginners-guide/how-to-setup-a-professional-email-address-with-gmail-and-google-apps/" title="How to Setup a Professional Email Address with Google Apps and Gmail">setup a professional email address with Google Apps and Gmail</a>.</p>
<p>Whether you use paid or free Gmail address, rest of the instructions are the same.</p>
<p>First, you will need to install and activate the <a href="https://wordpress.org/plugins/wp-mail-smtp/"  title="WP Mail SMTP" rel="nofollow">WP Mail SMTP</a> plugin. For more details, see our step by step guide on <a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="Step by Step Guide to Install a WordPress Plugin for Beginners">how to install a WordPress plugin</a>.</p>
<p>Upon activation, you need to visit <strong>Settings &raquo; WP Mail SMTP</strong> page to configure plugin settings. First you need to provide your gmail address in the &#8216;From Email&#8217; field and the name you want to display as sender. </p>
<p><img title="WP Mail SMTP settings for Gmail" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/wpmailsmtp-gmail.png" alt="WP Mail SMTP settings for Gmail" width="550" height="290" class="alignnone size-full wp-image-49150" /></p>
<p>Next, you need to scroll down to the mailer option. There are two ways you can use Gmail servers to send WordPress emails. </p>
<p>First, method is to use Gmail APIs to send emails. This method is recommended because it is more secure and reliable. Second method is to use your Gmail account&#8217;s SMTP server manually. </p>
<p>We will show you both methods, however we recommend that you use the first method. </p>
<h4>Method 1: Setting up Gmail to Send WordPress Emails Using OAuth Protocol</h4>
<p>First, you need to select Gmail as your mailer under WP Mail SMTP settings page. Check the box next to set the return path to be the same as sender, not checking this box will make bounced and failed messages to be lost forever. </p>
<p><img title="Select Gmail as Mailer" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/selectgmailsender.png" alt="Select Gmail as Mailer" width="550" height="245" class="alignnone size-full wp-image-49151" /></p>
<p>Next, you will see the option to enter your Client ID, Client Secret, and a URL in ‘Authorized redirect URI’ field.</p>
<p><strong>Creating an App and Generate API Keys for Gmail</strong> </p>
<p>To use Gmail&#8217;s APIs for sending WordPress emails, you need to create an app and generate an API key. To do that, visit the <a href="https://console.developers.google.com/apis/dashboard"  title="Google Developers Console" rel="nofollow">Google Developers Console</a> website and create a new project.</p>
<p><img title="Create Google Developer Console project" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/create-gdc-project-1.png" alt="Create Google Developer Console project" width="550" height="179" class="alignnone size-full wp-image-49152" /></p>
<p>If you don’t see the blue button to create a project, then you can also click on &#8216;Select a project&#8217; drop down and create a new project.</p>
<p>You’ll be asked to provide a name for your project. Give it a meaningful name so that next time you are here, you can easily recognize it.</p>
<p><img title="Name your project" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/nameproject-1.png" alt="Name your project" width="550" height="257" class="alignnone size-full wp-image-49153" /></p>
<p>Click on the create button to continue.</p>
<p>Developer console will now create your project and take you to its dashboard. Google allow developers to access many of their APIs and services. Now that your project is setup, you need to enable the APIs that you will be needing.</p>
<p><img title="Enable APIs" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/enable-apis-1.png" alt="Enable APIs" width="550" height="221" class="alignnone size-full wp-image-49154" /></p>
<p>Click on Enable APIs and services button to continue.</p>
<p>This will bring you to the APIs library page. Type Gmail in the search box to quickly find Gmail API and click to select it.</p>
<p><img title="Select Gmail API" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/selectgmailapi-1.png" alt="Select Gmail API" width="550" height="267" class="alignnone size-full wp-image-49155" /></p>
<p>You will now see an overview of the API and what it can do. Simply click on the ‘Enable’ button to continue.</p>
<p><img title="Enable Gmail API" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/enablegmailapi-1.png" alt="Enable Gmail API" width="550" height="289" class="alignnone size-full wp-image-49156" /></p>
<p>Now that your API is enabled, the next step is to create credentials that you can use in your WP Mail SMTP plugin settings.</p>
<p>Click on the create credentials button to continue.</p>
<p><img title="Create credentials" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/createcredentials-1.png" alt="Create credentials" width="550" height="244" class="alignnone size-full wp-image-49157" /></p>
<p>On the next screen, you will need to select ‘Web browser JavaScript’ in ‘Where you’ll be calling the API from’ field. After that click on the ‘User Data’ option.</p>
<p><img title="api-creds1" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/api-creds1-1.png" alt="" width="550" height="338" class="alignnone size-full wp-image-49158" /></p>
<p>To continue, click on the ‘What credentials do I need?’ button.</p>
<p>You will now be asked to provide a name for your OAuth client name. You can enter ‘WP Mail SMTP’ here.</p>
<p><img title="Step 2 of API credentials" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/api-creds2-1.png" alt="Step 2 of API credentials" width="550" height="322" class="alignnone size-full wp-image-49159" /></p>
<p>Under JavaScript origins field, add your website’s domain name. Next, you need to copy and paste the authorized redirect URL from WP Mail SMTP plugin settings.</p>
<p>Click on ‘Create client ID’ button to continue.</p>
<p>Next, you need to enter a name for OAuth consent screen. You can put the plugin’s name here.</p>
<p><img title="API credentials step 3" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/api-creds3-1.png" alt="API credentials step 3" width="550" height="226" class="alignnone size-full wp-image-49160" /></p>
<p>Click on the continue button and developer console will show your client ID. You can copy it and paste it in WP Mail SMTP plugin’s settings page. However, you will still need client secret key.</p>
<p><img title="Getting client ID" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/clientid-1.png" alt="Getting client ID" width="550" height="315" class="alignnone size-full wp-image-49161" /></p>
<p>Click on the Done button to move on.</p>
<p>You will now be taken to your project’s credentials page. You will see your recently created credentials listed there. Click on the edit button next to your credentials. </p>
<p><img title="Edit credentials" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/editcreds-1.png" alt="Edit credentials" width="550" height="286" class="alignnone size-full wp-image-49162" /></p>
<p>This will bring you to edit credentials page where you will be able to see your client secret key. You need to copy and paste the key in your plugin’s settings page.</p>
<p><img title="Client secret key" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/clientsecret-1.png" alt="Client secret key" width="550" height="255" class="alignnone size-full wp-image-49163" /></p>
<p>Return back to plugin’s settings page in your WordPress admin area. Now that you have both client ID and client secret keys, you need to click on the save settings button to continue.</p>
<p><img title="Save Api keys" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/saveclientcreds-1.png" alt="Save Api keys" width="550" height="301" class="alignnone size-full wp-image-49164" /></p>
<p>The plugin will now store your settings and reload the page. After that you need to scroll down to the bottom of the settings page and click on the ‘Allow plugin to send emails using your Google account’ button.</p>
<p><img title="Allow plugin to connect" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/allowplugin-1.png" alt="Allow plugin to connect" width="550" height="286" class="alignnone size-full wp-image-49165" /></p>
<p>This will take you to your account on Google and you will be asked to give the website permission to send emails on your behalf.</p>
<p><img title="Allow WP Mail SMTP to send emails" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/allowgmail-1.png" alt="Allow WP Mail SMTP to send emails" width="550" height="348" class="alignnone size-full wp-image-49166" /></p>
<p>After that you will be redirected back to your website where you will see a success message.</p>
<p>You have successfully set up WordPress to use Gmail SMTP servers for sending emails using the OAuth protocol. You can now click on the &#8216;Email Test&#8217; tab on plugin&#8217;s settings page to send a test email and see if everything is working fine. </p>
<p><img title="Email test" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/emailtest.png" alt="Email test" width="550" height="284" class="alignnone size-full wp-image-49148" /></p>
<h4>Method 2: Setting Gmail to Send WordPress Emails Using SMTP</h4>
<p>This method allows WP Mail SMTP to manually connect to Gmail&#8217;s SMTP servers for sending WordPress emails.</p>
<p>First, you need to visit <strong>Settings &amp;raquo WP Mail SMTP</strong> page to configure the plugin settings.</p>
<p>Provide the Gmail address you want to use as From email field and your name as from name field.</p>
<p><img title="Gmail SMTP" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/gmail-smtp-1.png" alt="Gmail SMTP" width="550" height="301" class="alignnone size-full wp-image-49173" /></p>
<p>Select ‘Other SMTP’ as your mailer and check the box next to return path.</p>
<p>Scroll down to Other SMTP section to configure more settings.</p>
<p><img title="Gmail SMTP settings for WP Mail SMTP" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/gmailsmtp-wpmailsmtp-1.png" alt="Gmail SMTP settings for WP Mail SMTP" width="550" height="359" class="alignnone size-full wp-image-49174" /></p>
<p>Here is how to fill out the plugin settings:</p>
<ul>
<li>SMTP Host: smtp.gmail.com</li>
<li>SMTP Port: 465</li>
<li>Encryption: Use SSL encryption</li>
<li>Authentication: Turn on authentication</li>
<li>Username: Your complete Gmail address, e.g. john.smith@yourdomain.com or john.smith@gmail.com</li>
<li>Password: Password of your Gmail account</li>
</ul>
<p>Click on the save changes button to store your settings.</p>
<p>That’s all, you have successfully setup WP Mail SMTP to use Gmail SMTP servers.</p>
<p>You can now click on the &#8216;Email Test&#8217; tab on plugin&#8217;s settings page to send a test email and see if everything is working fine. </p>
<p><img title="Email test" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/emailtest.png" alt="Email test" width="550" height="284" class="alignnone size-full wp-image-49148" /></p>
<p>We hope this article helped you learn how to fix WordPress not sending email issue, You may also want to see our list of the most <a href="http://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/" title="25 Most Common WordPress Errors and How to Fix Them">common WordPress errors and how to fix them</a>. </p>
<p>If you liked this article, then please subscribe to our <a href="http://youtube.com/wpbeginner?sub_confirmation=1" title="WPBeginner on YouTube"  rel="nofollow">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="http://twitter.com/wpbeginner" title="WPBeginner on Twitter"  rel="nofollow">Twitter</a> and <a href="https://www.facebook.com/wpbeginner" title="WPBeginner on Facebook"  rel="nofollow">Facebook</a>.</p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/">How to Fix WordPress Not Sending Email Issue</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/tutorials/how-to-fix-wordpress-not-sending-email-issue/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
