<?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; send wordpress emails using smtp server</title>
	<atom:link href="http://www.wpwife.com/category/send-wordpress-emails-using-smtp-server/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 Use SMTP Server to Send WordPress Emails</title>
		<link>http://www.wpwife.com/tutorials/how-to-use-smtp-server-to-send-wordpress-emails</link>
		<comments>http://www.wpwife.com/tutorials/how-to-use-smtp-server-to-send-wordpress-emails#comments</comments>
		<pubDate>Wed, 20 Dec 2017 13:00:05 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[send wordpress emails using smtp server]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress email issues]]></category>
		<category><![CDATA[wordpress not sending email]]></category>
		<category><![CDATA[wordpress smtp email]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=29697</guid>
		<description><![CDATA[
<p>Are you having trouble receiving or sending emails from your WordPress site? One solution for that is to use third party email services such as Mailgun. However, these services will cost you extra money. In this article, we will show you how to use a&#8230;&#160;<strong><a href="http://www.wpbeginner.com/wp-tutorials/how-to-use-smtp-server-to-send-wordpress-emails/">Read More &#187;</a></strong></p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/wp-tutorials/how-to-use-smtp-server-to-send-wordpress-emails/">How to Use SMTP Server to Send WordPress Emails</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Are you having trouble receiving or sending emails from your WordPress site? One solution for that is to use third party email services such as Mailgun. However, these services will cost you extra money. In this article, we will show you how to use a SMTP server to send WordPress emails. </p>
<p><img title="Using SMTP Server to Send WordPress Emails" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/wpsmtpemail.png" alt="Using SMTP Server to Send WordPress Emails" width="550" height="320" class="alignnone size-full wp-image-48882" /></p>
<h4>The Problem with WordPress Emails</h4>
<p>WordPress uses mail function in <a href="http://www.wpbeginner.com/glossary/php/" title="What is PHP? How PHP is Used in WordPress?">PHP</a> to send emails. Many <a href="http://www.wpbeginner.com/the-truth-about-shared-wordpress-web-hosting/" title="The Truth About Shared WordPress Web Hosting">shared hosting</a> providers do not have this function configured properly, or they have disabled it entirely to avoid abuse. In either case, this causes your WordPress emails to not be delivered. </p>
<p>The alternative solution is to use a third party email service to send out your emails. You can use services like Mailgun, Google Apps for work, or Sendgrid. </p>
<p>You will have to pay for your account, and the cost will vary depending on how many users/accounts you add or the number of emails you send. See our tutorial on how to <a href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/" title="How to Fix WordPress Not Sending Emails Issue">fix WordPress not sending email issue</a>. </p>
<p>What if we told you that there is another option, and most likely you are already paying for it?</p>
<h4>Using Email Accounts by Your Host</h4>
<p>Most <a href="http://www.wpbeginner.com/wordpress-hosting" title="How to Choose The Best WordPress Hosting?">WordPress hosting</a> providers offer email services for each domain you host with them. This means you can create email accounts with your own domain name like <code>yourname@yoursite.com</code>. </p>
<p>First you will need to create an email account. For the sake of this example, we will show you how to create an email account in cPanel. Your hosting service provider may use some other account management system, but the basic process is the same on most hosting services. </p>
<p>Log into your hosting account, and click on email accounts under the mail section. </p>
<p><img title="Email accounts" src="http://cdn2.wpbeginner.com/wp-content/uploads/2015/08/emailaccounts1.png" alt="Email accounts" width="520" height="281" class="alignnone size-full wp-image-30040" /></p>
<p>This will show you a simple form where you need to fill out information required to create your email account. </p>
<p>Since we will be using this account to send WordPress emails, we recommend that you create an email account like <em>wordpress@example.com</em>. Make sure to replace example.com with your own domain name.  </p>
<p><img title="Creating email account in cPanel" src="http://cdn3.wpbeginner.com/wp-content/uploads/2015/08/emailform.png" alt="Creating email account in cPanel" width="520" height="327" class="alignnone size-full wp-image-30041" /></p>
<p>After creating your email account, you are now ready to use it in WordPress. But before you do that, you will need the following information from your hosting service provider. </p>
<ol>
<li>SMTP Host for your email address.</li>
<li>SMTP Port for secure login.</li>
</ol>
<p>You can check the support section on your host&#8217;s website for this information. Most likely there will be an article providing this information. If you don&#8217;t find it, then you should contact the hosting support to request this information.  </p>
<h4>Using Your Branded Email Address in WordPress</h4>
<p>You will now 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; Email</strong> to configure the plugin settings. </p>
<p><img title="WP-Mail-SMTP Settings" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/wpmailsmtp-settings-1.png" alt="WP-Mail-SMTP Settings" width="550" height="329" class="alignnone size-full wp-image-48876" /></p>
<p>First you need to enter the email address you just created. After that you can add a from name, this will be used as the sender name. </p>
<p>If you do not add a from name, then the plugin will use the default WordPress. </p>
<p>Next, you need to choose the mailer. Go ahead and click on the &#8216;Other SMTP&#8217; option to select it. </p>
<p><img title="Choose Mailer" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/choosemailer.png" alt="Choose Mailer" width="550" height="191" class="alignnone size-full wp-image-48877" /></p>
<p>After that, you need to check the box next to &#8216;Return Path&#8217; option. This option sets the return path to match the sender email address. If you leave it unchecked, bounced messages and non-delivery receipts will be lost. </p>
<p>Next, you need to set up SMTP options. </p>
<p><img title="SMTP settings" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/smtp-settings.png" alt="SMTP settings" width="550" height="399" class="alignnone size-full wp-image-48878" /></p>
<p>First you need to enter your SMTP host and port. You can obtain this information from your hosting provider. Typically, SMTP host is mail.yourdomain.com (replace yourdomain.com with your own domain name). For SMTP Port 465 is commonly used.</p>
<p>Next, you need to choose encryption. Most WordPress hosting companies support SSL and TLS. We recommend using TLS option when available. </p>
<p>After that turn on the authentication toggle and provide your SMTP username and password. Normally, your email address is also your SMTP username. </p>
<p>Your password is stored as plain text, which is not safe. Don&#8217;t worry, we will show you how to make more secure later in this article. </p>
<p>Don&#8217;t forget to click on the save settings button to store your changes. </p>
<h4>Testing Your SMTP Settings</h4>
<p>Now that you have set up WP Mail SMTP to send emails, let&#8217;s test if everything is working fine. On the plugin&#8217;s settings page, click on the &#8216;Email Test&#8217; tab. </p>
<p><img title="Send test email" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/sendtestemail.png" alt="Send test email" width="550" height="346" class="alignnone size-full wp-image-48879" /></p>
<p>You need to provide an email address where you would like to receive test email. This could be any valid email address that you can access. After that click on the Send Email button to continue. </p>
<p>WP Mail SMTP will now send an email message using the SMTP settings you entered earlier. You will see a success message when email is sent successfully. </p>
<h4>Securing Your Email Password</h4>
<p>You may need to enter your email account password in WP MAIL SMTP settings. This password is normally stored as plain text which is unsafe. </p>
<p>However, the plugin also provides you an option to make it more secure. To do that, you will need to add some code to your wp-config.php file. If you haven&#8217;t done this before, then please see our guide on <a href="http://www.wpbeginner.com/beginners-guide/how-to-edit-wp-config-php-file-in-wordpress/" title="How to Edit wp-config.php File in WordPress">how to edit wp-config.php</a> file in WordPress. </p>
<p>First you will need to connect to your website using a FTP client or File Manager app in cPanel. Once connected, you will find your wp-config.php file in the root folder of your website. </p>
<p>You can edit this file using any plain text editor like Notepad or TextEdit. </p>
<p>Locate the line that says &#8216;That&#8217;s all, stop editing! Happy blogging&#8217; and add the following code just before it. </p>
<pre class="brush: php; title: ; notranslate">
define( 'WPMS_ON', true );
define( 'WPMS_SMTP_PASS', 'your_password' );
</pre>
<p>Don&#8217;t forget to replace &#8216;your_password&#8217; with your actual SMTP password. After that, save and upload your wp-config.php file back to server. </p>
<p>You can now visit your WordPress admin area and go to <strong>Settings &raquo; WP Mail SMTP</strong> page. Scroll down to the SMTP options section and you will see password field is now disabled. </p>
<p><img title="SMTP password disabled" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/passwordencrypted.png" alt="SMTP password disabled" width="550" height="242" class="alignnone size-full wp-image-48881" /></p>
<h4>Troubleshooting WordPress Email Issues</h4>
<p>The most common reason for errors in sending emails using SMTP is incorrect SMTP host or port. Make sure that you are entering the correct host and port settings provided by your hosting provider.</p>
<p>Make sure that you select the correct encryption method. Usually SSL works on most environments, but we recommend that you check with your web host if your emails are not getting delivered.</p>
<h4>Pros and Cons of Using Your Web Host’s Mail Servers for WordPress Emails</h4>
<p>First and the most obvious advantage is that you can use your own branded email address for outgoing emails in WordPress. </p>
<p>Another advantage is that you have already paid for this service when signing up for your hosting account. You will not need to pay any extra money for sending and recieving emails. </p>
<p>However, some WordPress hosting providers enforce limitations on outgoing emails. This is why we don&#8217;t recommend using <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">WordPress to send newsletter emails</a>. </p>
<p>Another common problem with shared hosting providers is that their mail servers can be quite unreliable at times. If you notice delays in email delivery, then you should consider using third party email services like <a href="http://www.wpbeginner.com/refer/google-apps-work/"  title="Google Apps for Work" rel="nofollow">Google Apps for Work</a>, Mailgun, or SendGrid. </p>
<p>We hope this article helped you learn how to use SMTP server to send WordPress emails. You may also want to see our list of the <a href="http://www.wpbeginner.com/showcase/24-must-have-wordpress-plugins-for-business-websites/" title="24 Must Have WordPress Plugins for Business Websites in 2017">must have WordPress plugins for businesses</a>.</p>
<p>If you liked this article, then please subscribe to our <a href="http://youtube.com/wpbeginner" 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-use-smtp-server-to-send-wordpress-emails/">How to Use SMTP Server to Send WordPress Emails</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-use-smtp-server-to-send-wordpress-emails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
