<?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; wp mail smtp</title>
	<atom:link href="http://www.wpwife.com/category/wp-mail-smtp/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 Get Email Notification for Post Changes in WordPress</title>
		<link>http://www.wpwife.com/wordpress-plugins/how-to-get-email-notification-for-post-changes-in-wordpress</link>
		<comments>http://www.wpwife.com/wordpress-plugins/how-to-get-email-notification-for-post-changes-in-wordpress#comments</comments>
		<pubDate>Tue, 03 Jan 2023 18:46:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[email notifications]]></category>
		<category><![CDATA[email post changes in wordpress]]></category>
		<category><![CDATA[monitor user activity]]></category>
		<category><![CDATA[post changes notifications in wordpress]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[wordpress post revisions]]></category>
		<category><![CDATA[wp mail smtp]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=18711</guid>
		<description><![CDATA[
<p>Do you want to get email notifications for post changes in WordPress? By default, WordPress doesn&#8217;t send notifications when posts are changed by a user. If you run a multi-author WordPress site, then you may want to stay informed about post changes on your website.&#8230;&#160;<strong><a href="https://www.wpbeginner.com/plugins/how-to-get-email-notification-for-post-changes-in-wordpress/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/plugins/how-to-get-email-notification-for-post-changes-in-wordpress/">How to Get Email Notification for Post Changes in WordPress</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to get email notifications for post changes in WordPress?</p>



<p>By default, WordPress doesn&#8217;t send notifications when posts are changed by a user. If you run a multi-author WordPress site, then you may want to stay informed about post changes on your website.</p>



<p>In this article, we will show how to get email notifications for post changes in WordPress.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/how-to-get-email-notification-for-post-changes-in-wordpress-og.png" alt="How to Get Email Notification for Post Changes in WordPress" class="wp-image-159565" title="Setting up email notifications for post changes in WordPress" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/how-to-get-email-notification-for-post-changes-in-wordpress-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/how-to-get-email-notification-for-post-changes-in-wordpress-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>Why Set Up Email Notifications for Post Changes in WordPress?</h4>



<p>If you&#8217;re the only one working on your own <a title="Ultimate Guide: How to Make a Website in 2020 – Step by Step Guide (Free)" href="https://www.wpbeginner.com/guides/">WordPress website</a>, then it is easier to keep an eye on everything that is happening on your website.</p>



<p>However, if you have <a href="https://www.wpbeginner.com/plugins/21-great-plugins-to-manage-multi-author-blogs-efficiently-and-successfully/" title="21 Plugins to Efficiently Manage WordPress Multi-Author Blogs">other authors</a> writing blog posts, or SEO specialists <a title="11 Tips to Optimize Your Blog Posts for SEO like a Pro (Checklist)" href="https://www.wpbeginner.com/beginners-guide/blog-seo-tips-optimize-your-blog-posts-for-seo/">optimizing blog posts for SEO</a>, then you may want to keep an eye on the changes they make.</p>



<p>For instance, you may want to be alerted when a new post is published or if changes were made to an older article.</p>



<p>This also helps all team members be accountable. If they make a mistake, then it can be easily caught and remedied quickly.</p>



<p>That said, let&#8217;s take a look at how to get email notifications for post changes in WordPress. We&#8217;ll cover two methods so you can choose one that works best for you. We&#8217;ll also show you how to undo post changes and make sure your notification emails are delivered.</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="https://www.wpbeginner.com/plugins/how-to-get-email-notification-for-post-changes-in-wordpress/#wpactivitylog">Method 1: Getting Notifications for Post Changes Using WP Activity Log</a></li><li><a href="https://www.wpbeginner.com/plugins/how-to-get-email-notification-for-post-changes-in-wordpress/#bnfw">Method 2: Getting Notifications for Post Changes With Better Notifications for WP</a></li><li><a href="https://www.wpbeginner.com/plugins/how-to-get-email-notification-for-post-changes-in-wordpress/#tracking-post-changes">Revising and Undoing Post Changes in WordPress</a></li><li><a href="https://www.wpbeginner.com/plugins/how-to-get-email-notification-for-post-changes-in-wordpress/#troubleshoot-emails">Troubleshooting Email Notifications in WordPress</a></li></ul></div>



<h4 id="wpactivitylog">Method 1: Getting Notifications for Post Changes Using WP Activity Log</h4>



<p>This method is recommended for all users as it is easy, powerful, and flexible.</p>



<p>The first thing you need to do is install and activate the <a href="https://www.wpbeginner.com/refer/wp-security-audit-log/"  rel="noopener nofollow" title="WP Activity Log">WP Activity Log</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&#8217;ll be asked to enter your license key. You can find this information under your account on the WP Activity Log website.</p>



<figure class="wp-block-image size-full"><img width="680" height="295" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitylicensekey.png" alt="Add license key for WP Activity Log" class="wp-image-158745" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitylicensekey.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitylicensekey-300x130.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you&#8217;ll be given the option to run the setup wizard. You can answer a few quick questions to set up important monitoring and logging features. </p>



<p>All these things can be changed later in plugin settings too.</p>



<figure class="wp-block-image size-full"><img width="680" height="187" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitysetupwizard.png" alt="WP Activity Log setup wizard" class="wp-image-158746" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitysetupwizard.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitysetupwizard-300x83.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p><strong>Setting Up Email Notifications for Post Changes in WordPress</strong></p>



<p>After that, you need to visit the <strong>WP Activity Log » Email &amp; SMS Notifications</strong> page and switch to the &#8216;Content Changes&#8217; tab.</p>



<figure class="wp-block-image size-full"><img width="680" height="225" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityhelperplugin.png" alt="Installing the Helper Plugin in WP Activity Log" class="wp-image-158751" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityhelperplugin.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityhelperplugin-300x99.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You will see a message that a helper plugin is needed to enable SMS notifications. </p>



<p>If you want to receive SMS notifications as well as email notifications, then simply click the button labeled &#8216;Install the helper plugin&#8217;. You will finish setting up SMS notifications in the next step.</p>



<p>Now you need to select the events that will trigger notifications. The plugin comes with three default notifications covering most content changes.</p>



<figure class="wp-block-image size-full"><img width="680" height="319" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityemailnotifications.png" alt="Setting up content change notifications in WP Activity Log" class="wp-image-158752" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityemailnotifications.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityemailnotifications-300x141.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next to each event, you need to enter the email address the notifications should be sent to. In the next step, you will also add a mobile phone number if you want to get SMS notifications for post changes.</p>



<p>Finally, click on the &#8216;Save Notifications&#8217; button to store your changes.</p>



<p><strong>Setting Up SMS Notifications for Post Changes in WordPress</strong></p>



<p>WP Activity Log allows you to easily receive SMS notifications for post changes and other WordPress activities. To do that, you&#8217;ll need a Twilio account and a phone number.</p>



<p>Twillio is a paid service with a pay-as-you-go pricing model for SMS messages. Pricing starts at $0.0079 per SMS, and you&#8217;ll also need to purchase a virtual phone number which will be used to send messages.</p>



<p>Simply go to the <a title="Twilio" href="https://www.twilio.com/"  rel="noopener nofollow">Twilio website</a> and signup for a free trial account.</p>



<figure class="wp-block-image size-full"><img width="680" height="362" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytwiliosignup.png" alt="Sign up for a Twilio account" class="wp-image-158763" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytwiliosignup.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytwiliosignup-300x160.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After setting up your account, you&#8217;ll reach the Twilio Console.</p>



<p>Here, you can copy your Account SID, Auth Token, and get a trial phone number.</p>



<figure class="wp-block-image size-full"><img width="680" height="339" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivetwilioaccount.png" alt="Getting your Twilio credentials" class="wp-image-158785" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivetwilioaccount.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivetwilioaccount-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Copy and paste these values to a text editor or leave this browser tab open.</p>



<p>Next, you need to switch back to your WordPress website admin area and visit the <strong>WP Activity Log » Settings</strong> page. From here, switch to the SMS Provider tab and enter your Twilio Account SID, Auth token, and number.</p>



<figure class="wp-block-image size-full"><img width="680" height="365" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitysmsprovider.png" alt="Entering your Twilio credentials" class="wp-image-158795" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitysmsprovider.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitysmsprovider-300x161.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



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



<p>Now you can navigate back to <strong>WP Activity Log » Email &amp; SMS Notifications</strong> and switch back to the &#8216;Content Changes&#8217; tab. Here you can add a mobile phone number to get SMS notifications for post changes.</p>



<figure class="wp-block-image size-full"><img width="680" height="305" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityaddsmsnotificationnumber.png" alt="Entering the Phone Number for SMS Notifications" class="wp-image-158796" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityaddsmsnotificationnumber.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivityaddsmsnotificationnumber-300x135.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p><strong>Testing Post Change Notifications with WP Activity Log</strong></p>



<p>WP Activity Log allows you to easily test your post change notifications. </p>



<p>First, make sure you are on the &#8216;Content Changes&#8217; tab of the <strong>WP Activity Log » Notifications</strong> page.</p>



<figure class="wp-block-image size-full"><img width="680" height="305" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytestnotifications.png" alt="Test notifications in WordPress Activity Log" class="wp-image-158797" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytestnotifications.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytestnotifications-300x135.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now you can scroll down and click the &#8216;Test Notifications&#8217; button.</p>



<p>This will bring up a popup window where you can enter an email address and a mobile phone number to send notifications.</p>



<figure class="wp-block-image size-full"><img width="680" height="198" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytestnotificationsdetails.png" alt="Send test notifications" class="wp-image-158799" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytestnotificationsdetails.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpactivitytestnotificationsdetails-300x87.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>WP Activity Log will then send test notifications. If you do not receive an email notification right away, then you can jump to the section below on troubleshooting email notifications.</p>



<p>If you fail to receive SMS notifications, then check your Twilio credentials to make sure they are correct.</p>



<h4 id="bnfw">Method 2: Getting Notifications for Post Changes With Better Notifications for WP</h4>



<p>This method is easy to use, but it doesn&#8217;t come with ready-made templates. While this method will send an email notification when a post is changed, you will have to write the email yourself and investigate the activity on your own.</p>



<p>First, you need to install and activate the <a href="https://wordpress.org/plugins/bnfw/"  rel="noopener nofollow" title="Customize WordPress Emails and Alerts – Better Notifications for WP">Customize WordPress Emails and Alerts – Better Notifications for WP</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 the <strong>Notifications » Add New</strong> page to create your first custom notification.</p>



<figure class="wp-block-image size-full"><img width="680" height="285" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternewpostupdated.png" alt="Creating a post change notification" class="wp-image-158806" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternewpostupdated.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternewpostupdated-300x126.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>First, you need to provide a title for the notification. After that, you can choose a &#8216;Notification For&#8217; option from the drop-down menu. This is the event that will trigger this notification, such as &#8216;Post Updated&#8217; in the screenshot above.</p>



<p>If you like, you can check the &#8216;Additional Email Fields&#8217; box so you can enter custom email addresses for the sender, cc, and more. If this option is left unchecked, then the plugin will simply use your default WordPress email settings.</p>



<p>Next, you need to select the users or user roles that will receive this notification under the &#8216;Send To&#8217; option. Below that you can write the email subject and the message itself.</p>



<figure class="wp-block-image size-full"><img width="680" height="380" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternotificationsemailsubjectandmessage.png" alt="Setting up email settings" class="wp-image-158830" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternotificationsemailsubjectandmessage.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternotificationsemailsubjectandmessage-300x168.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>The Better Notifications for WP plugin doesn&#8217;t come with a template for post changes. This means you&#8217;ll need to write your own email message.</p>



<p>The plugin comes with a bunch of <a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/" title="How to Add a Shortcode in WordPress (Beginner’s Guide)">shortcodes</a> that you can use to customize your notifications. You can view all of them by clicking on the &#8216;Find Shortcodes&#8217; button.</p>



<p>Lastly, you need to click on the &#8216;Save&#8217; button to store your email notification. Once you&#8217;ve done that, you&#8217;ll be able to click on the &#8216;Send Me a Test Email&#8217; button to see if it is working.</p>



<figure class="wp-block-image size-full"><img width="680" height="228" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternotificationssavetest.png" alt="Save and test your email notification" class="wp-image-158832" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternotificationssavetest.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangebetternotificationssavetest-300x101.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Better Notifications for WP is not an activity monitoring plugin. This means you&#8217;ll need to set up multiple notifications to cover different types of content changes in WordPress.</p>



<p>For instance, you may want to set up a &#8216;Post Published&#8217; notification or another one for when a category or tag is changed.</p>



<p>The plugin also allows you to create custom notifications or modify default WordPress notifications as well. For more details, see our article on how to <a title="How to Add Better Custom Notifications in WordPress" href="https://www.wpbeginner.com/plugins/how-to-add-better-custom-notifications-in-wordpress/">create better custom notifications in WordPress</a>.</p>



<h4 id="tracking-post-changes">Revising and Undoing Post Changes in WordPress</h4>



<p>Once you have received an email notification for post changes, you may want to see what changes were made, who made them, and when.</p>



<p>WordPress comes with a built-in <a title="WordPress Post Revisions Made Simple: A Step by Step Guide (2020)" href="https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/">revision management system</a> that keeps track of all changes made to an article.</p>



<p>Simply edit the post or page that you want to review and then click on the &#8216;Revisions&#8217; tab under the &#8216;Post&#8217; settings from the right column.</p>



<figure class="wp-block-image size-full"><img width="680" height="232" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangesrevisions3revisions.png" alt="Open revisions for a post or page in WordPress" class="wp-image-158835" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangesrevisions3revisions.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangesrevisions3revisions-300x102.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will bring you to the post revisions screen.</p>



<p>You can check the &#8216;Compare any two revisions&#8217; box and then move the slider below to compare the changes.</p>



<figure class="wp-block-image size-full"><img width="680" height="353" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangerevisionscompareanytwo.png" alt="Comparing revisions in WordPress" class="wp-image-158840" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangerevisionscompareanytwo.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangerevisionscompareanytwo-300x156.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>When you scroll down the post, you will see the changes between the two revisions highlighted in red and green colors.</p>



<p>If you don&#8217;t like the changes, then you can simply click on the &#8216;Restore This Revision&#8217; button to undo them and return to the previous version.</p>



<figure class="wp-block-image size-full"><img width="680" height="355" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangerevisionsrestorethisrevision.png" alt="Changes highlighted in revision history" class="wp-image-158843" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangerevisionsrestorethisrevision.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangerevisionsrestorethisrevision-300x157.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>For more details, see our guide on <a href="https://www.wpbeginner.com/beginners-guide/how-to-undo-changes-in-wordpress-with-post-revisions/" title="How to Undo Changes in WordPress with Post Revisions">how to undo changes in WordPress with post revisions</a>.</p>



<h4 id="troubleshoot-emails">Troubleshooting Email Notifications in WordPress</h4>



<p>By default, WordPress uses the <a href="https://www.wpbeginner.com/glossary/php/" title="What Is PHP in WordPress?">PHP</a> <code>mail()</code> function to send emails. This method does not use proper authentication (login or password) which means it can be easily misused. This is why most spam filters mark such emails as spam or block them altogether.</p>



<p>To fix this, you need to use a proper <a title="7 Best SMTP Service Providers with High Email Deliverability (2020)" href="https://www.wpbeginner.com/showcase/best-smtp-service-providers-with-high-email-deliverability/">SMTP service provider</a> to send out WordPress emails. There are even <a title="How to Use Free SMTP Server to Send WordPress Emails (4 Methods)" href="https://www.wpbeginner.com/wp-tutorials/how-to-use-a-free-smtp-server-to-send-wordpress-emails/">free SMTP servers</a> like <a href="https://sendlayer.com/"  title="SendLayer - Reliable Email Deliverability Made Easy" rel="noopener">SendLayer</a>, Gmail, Sendinblue, Sendgrid, and more that you can use with WordPress.</p>



<p>To set up SMTP, you need to install and activate the <a href="https://wpmailsmtp.com/"  rel="noopener" title="WP Mail SMTP">WP Mail SMTP</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>WP Mail SMTP allows you to connect your WordPress site to your SMTP service provider and send all your WordPress emails with much higher deliverability.</p>



<p>Upon activation, you need to go to the <strong>WP Mail SMTP » Settings</strong> page in your WordPress admin area to set up the plugin.</p>



<figure class="wp-block-image size-full"><img width="680" height="263" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpmailsmtplicense.png" alt="WP Mail SMTP license" class="wp-image-158846" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpmailsmtplicense.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpmailsmtplicense-300x116.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>First, you need to enter your license key. You can find this information under your account on the WP Mail SMTP website.</p>



<p>After that, scroll down to the &#8216;Mailer&#8217; section to select your SMTP service provider. WP Mail SMTP will show all top SMTP service providers. You can click on your provider and then enter the required information below (usually an API key).</p>



<figure class="wp-block-image size-full"><img width="680" height="302" src="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpmailsmtpmailers.png" alt="SMTP mailers in WP Mail SMTP" class="wp-image-158848" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpmailsmtpmailers.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/01/postchangewpmailsmtpmailers-300x133.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>If your mailer is not listed, then you can simply choose &#8216;Other SMTP&#8217; option and enter the required information.</p>



<p>To learn more, see our tutorial 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 WordPress not sending email issue</a>.</p>



<p>We hope this article helped you set up email notifications for post changes in WordPress. You may also want to see our tips on <a title="How to Increase Your Blog Traffic – The Easy Way (27 Proven Tips)" href="https://www.wpbeginner.com/beginners-guide/how-to-increase-your-blog-traffic/">getting more traffic to your blog</a> and the <a title="14 Best WordPress SEO Plugins and Tools That You Should Use" href="https://www.wpbeginner.com/showcase/9-best-wordpress-seo-plugins-and-tools-that-you-should-use/">best WordPress SEO plugins and tools</a> to grow your website.</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-get-email-notification-for-post-changes-in-wordpress/">How to Get Email Notification for Post Changes in WordPress</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-get-email-notification-for-post-changes-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
		<item>
		<title>How to Send Automated Coupons in WordPress to Bring Back Customers</title>
		<link>http://www.wpwife.com/woocommerce/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers</link>
		<comments>http://www.wpwife.com/woocommerce/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers#comments</comments>
		<pubDate>Thu, 29 Dec 2022 09:33:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[advanced coupons]]></category>
		<category><![CDATA[funnelkit]]></category>
		<category><![CDATA[funnelkit automations]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[uncanny automator]]></category>
		<category><![CDATA[woocommerce]]></category>
		<category><![CDATA[wp mail smtp]]></category>

		<guid isPermaLink="false">https://www.wpbeginner.com/?p=158662</guid>
		<description><![CDATA[
<p>Do you want to send automated coupons in WordPress to bring back customers? By sending the right coupon to the right person at the right time, you can re-engage customers who are losing interest. This can get you more sales, create brand loyalty, and help&#8230;&#160;<strong><a href="https://www.wpbeginner.com/wp-tutorials/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers/">How to Send Automated Coupons in WordPress to Bring Back Customers</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to send automated coupons in WordPress to bring back customers?</p>



<p>By sending the right coupon to the right person at the right time, you can re-engage customers who are losing interest. This can get you more sales, create brand loyalty, and help you keep your best customers.</p>



<p>In this guide, we’ll show you a few different ways to send automated coupons in WordPress, and bring back customers.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/how-to-send-automated-coupons-wordpress-to-bring-back-customers-og.png" alt="How to send automated coupons in WordPress to bring back customers" class="wp-image-158933" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/how-to-send-automated-coupons-wordpress-to-bring-back-customers-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/how-to-send-automated-coupons-wordpress-to-bring-back-customers-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4><strong>Why Send Automated Coupons to Bring Back Customers?</strong></h4>



<p>You may have heard the saying that it costs five times more to get a new customer than keep an old one.</p>



<p>While <a href="https://www.wpbeginner.com/beginners-guide/lead-generation-in-wordpress/" title="How to Do Lead Generation in WordPress Like a Pro">lead generation</a> will help grow your business, you also need to keep your existing customers happy. Over time, people may lose interest in your website, forget about your products, or start shopping with a competitor.</p>



<p>That’s where automated coupons come in.</p>



<p>The <a href="https://www.wpbeginner.com/showcase/best-wordpress-automation-tools-and-plugins/" title="Best WordPress Automation Tools and Plugins Compared">best WordPress automation tools and plugins</a> can watch your customers for signs they’re becoming disengaged. For example, a customer may not place an order for 2 months or stop opening your emails.</p>



<p>One way to bring those customers back is to automatically send them a coupon code via email. By <a href="https://www.wpbeginner.com/plugins/how-to-create-automated-workflows-in-wordpress-with-uncanny-automator/" title="How to Create Automated Workflows in WordPress with Uncanny Automator">creating this automated workflow in WordPress</a>, you can retain customers without having to do all the hard work yourself.</p>



<p><strong>Pro Tip: </strong>If you send coupons via email, then you’ll need to make sure those messages land in the customer’s inbox and not in the spam folder. Here, a good <a href="https://www.wpbeginner.com/showcase/best-smtp-service-providers-with-high-email-deliverability/" title="Best SMTP Service Providers with High Email Deliverability">SMTP service provider</a> is essential for improving your email deliverability. We also recommend using <a href="https://wpmailsmtp.com/"  rel="noopener" title="The WP Mail SMTP email plugin">WP Mail SMTP</a> as it allows you to easily send WordPress emails using any SMTP service provider.</p>



<p>With that being said, let’s see how you can send automated coupons in WordPress and bring back customers. Simply use the quick links below to jump to the method you want to use.</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers/#aioseo-method-1-using-funnelkit-best-for-woocommerce-users">Method 1. Using FunnelKit (Best for WooCommerce Users)</a></li><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers/#aioseo-method-2-using-uncanny-automator-over-100-integrations">Method 2. Using Uncanny Automator (Over 100 Integrations)</a></li></ul></div>



<h4 id="aioseo-method-1-using-funnelkit-best-for-woocommerce-users"><strong>Method 1. Using FunnelKit (Best for WooCommerce Users)</strong></h4>



<p>One way to send automated coupons in WordPress, is by using <a href="https://www.wpbeginner.com/refer/funnelkit/"  rel="noopener nofollow" title="The FunnelKit automation plugin">FunnelKit Automations</a>.</p>



<p>FunnelKit is a WordPress sales funnel builder and optimization plugin that allows you to create powerful customer winback campaigns. It also lets you create unique, personalized coupons, which can really catch the shopper’s attention.</p>



<p>FunnelKit integrates with WooCommerce and has lots of features that are designed to grow your online store. With that in mind, FunnelKit is a great choice if you already use WooCommerce to sell products and services online.</p>



<p><strong>How to Set up the FunnelKit WordPress Plugin</strong></p>



<p>First, you’ll need to install and activate the <a href="https://wordpress.org/plugins/funnel-builder/"  rel="noopener nofollow" title="The free FunnelKit WordPress automation plugin">free version of FunnelKit Automations</a>, as it provides the base for the premium plugin’s features. For more details, please see our guide on <a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners">how to install a WordPress plugin</a>.</p>



<p>After that, you’ll need to install and activate the FunnelKit Automations Pro plugin.</p>



<p>After activating both plugins, go to <strong>FunnelKit Automation » Settings</strong>. You can now go ahead and add the license key to the ‘License’ field.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-automations-license.png" alt="Adding a license to the FunnelKit Automations WordPress plugin" class="wp-image-158664" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-automations-license.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-automations-license-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You’ll find this information in <a href="https://myaccount.funnelkit.com/"  rel="noopener nofollow" title="Your FunnelKit account">your account on the FunnelKit website</a>. After adding this information, click on the ‘Activate’ button.</p>



<p><strong>How to Create an Automated Coupon Workflow for WordPress</strong></p>



<p>Now, we’re going to create a workflow that will generate a personalized coupon and send it to the customer via email. This workflow will run once 30 days have passed since the customer’s last order.</p>



<p>To create the workflow, go to <strong>FunnelKit Automations » Automations (Next Gen)</strong> in the WordPress dashboard. Then, click on the ‘Add New Automation’ button.</p>



<figure class="wp-block-image size-full"><img width="680" height="342" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-new-automation.png" alt="Creating a new WordPress automation with FunnelKit" class="wp-image-158665" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-new-automation.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-new-automation-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You’ll now see all the different automation templates that you can use.</p>



<p>Since we want to create our own workflow, select ‘Start from Scratch.’</p>



<figure class="wp-block-image size-full"><img width="680" height="340" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/start-scratch-funnelkit.png" alt="Creating a custom automated workflow in WordPress" class="wp-image-158666" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/start-scratch-funnelkit.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/start-scratch-funnelkit-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In the popup that appears, type in a name for the automation. This is just for your reference, so you can use anything you want.</p>



<p>With that done, click on ‘Create.’</p>



<figure class="wp-block-image size-full"><img width="680" height="266" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-automation-name.png" alt="Add a name to your FunnelKit automation workflow" class="wp-image-158667" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-automation-name.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-automation-name-300x117.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, we need to choose the action that will kickstart the workflow, so click on ‘Select Trigger.’</p>



<p>In the left-hand menu, choose ‘WooCommerce’ and then click to select ‘Customer Win Back.’</p>



<figure class="wp-block-image size-full"><img width="680" height="335" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/customer-winback-trigger.png" alt="Adding a 'customer winback' trigger to an automation workflow" class="wp-image-158668" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/customer-winback-trigger.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/customer-winback-trigger-300x148.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>With that done, click on ‘Done’ to add the trigger to your automation workflow.</p>



<p>Back in the main editor, click on the ‘Customer Win Back’ trigger.</p>



<figure class="wp-block-image size-full"><img width="680" height="348" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/trigger-customer-winback.png" alt="Adding a trigger to the FunnelKit automation editor" class="wp-image-158669" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/trigger-customer-winback.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/trigger-customer-winback-300x154.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In the ‘Customer Last Ordered Period’ section, you can type in how long FunnelKit will wait before running the workflow.</p>



<p>For example, in the following image the workflow will run when 30 days have passed since the customer’s last order.</p>



<p>FunnelKit will repeat this automation once every 24 hours, so it’s important to only run it for a short period of time. For this reason, we’ve set the workflow to stop when 35 days have passed since the customer’s last order.</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-order-period.png" alt="Adding an order period to the automation recipe " class="wp-image-158670" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-order-period.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-order-period-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In this way, you won’t annoy customers by sending them dozens of emails.</p>



<p>Next, you can set the time when the automation will run, using the ‘Schedule this….’ fields. FunnelKit will use your store’s timezone, so you may want to change your <a href="https://www.wpbeginner.com/wp-tutorials/how-to-start-an-online-store/" title="How to Start an Online Store (Step by Step)">online store</a> settings if you want to use a different timezone instead. </p>



<figure class="wp-block-image size-full"><img width="680" height="380" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-schedule-timezone.png" alt="Scheduling an automated coupon code" class="wp-image-158671" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-schedule-timezone.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-schedule-timezone-300x168.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>With that done, click on ‘Save.’</p>



<p>Back in the main workflow editor, click on ‘+’ and then select ‘Action.’</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-action-funnelkit.png" alt="Adding actions to an automated workflow in WordPress" class="wp-image-158672" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-action-funnelkit.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-action-funnelkit-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In the popup that appears, select ‘WooCommerce’ and then click on ‘Create Coupon.’</p>



<p>Simply click on ‘Done’ to add this action to the workflow.</p>



<figure class="wp-block-image size-full"><img width="680" height="333" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-create-coupon.png" alt="How to create an automated coupon using FunnelKit" class="wp-image-158673" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-create-coupon.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-create-coupon-300x147.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Back in the main FunnelKit editor, click on the action you just added. This opens a popup where you can customize the ‘Create Coupon’ action.</p>



<p>To start, type a name for the coupon into the ‘Coupon Title’ field. This is just for your reference so you can use anything you want.</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/winback-coupon-title.png" alt="Creating a winback customer automation workflow in WordPress" class="wp-image-158674" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/winback-coupon-title.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/winback-coupon-title-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, choose the type of coupon that you want to create, using the ‘Discount Type’ dropdown menu.</p>



<p>FunnelKit supports percentage discount, fixed cart discount, and fixed product discount. Most of the time, you’ll want to select ‘Percentage Discount’ to make sure all customers get a similar benefit, no matter how much they spend or what products they buy.</p>



<p>After that, type an amount into the ‘Amount’ field. For example, you might offer customers 20% off, or a $5 discount on all purchases.</p>



<figure class="wp-block-image size-full"><img width="680" height="370" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-percentage-discount.png" alt="How to create an automated percentage discount coupon" class="wp-image-158675" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-percentage-discount.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-percentage-discount-300x163.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>FunnelKit automatically creates a unique coupon code for each contact. However, you can add a prefix to the start of the coupon, which can either be plain text or dynamic tags. FunnelKit will replace these tags with real text every time it creates a code, so this is a great way to <a href="https://www.wpbeginner.com/plugins/how-to-create-one-time-personalized-coupon-codes-in-woocommerce/" title="How to Create One-Time Personalized Coupon Codes in WooCommerce">create personalized coupons</a>.</p>



<p>Since we want to bring shoppers back in, you may decide to include the customer’s name in the coupon. This can catch their attention, and also makes your code easier to remember.</p>



<p>To add plain text as a prefix, simply type into the ‘Coupon Code Prefix’ field.</p>



<figure class="wp-block-image size-full"><img width="680" height="370" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-code-prefix.png" alt="Adding a prefix to the automated coupon code" class="wp-image-158676" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-code-prefix.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-code-prefix-300x163.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>To add one or more tags, click on the ‘Merge tags’ icon.</p>



<p>This is the button that has curly braces.</p>



<figure class="wp-block-image size-full"><img width="680" height="330" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-merge-tags.png" alt="Adding dynamic text to the automated coupon code" class="wp-image-158677" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-merge-tags.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-merge-tags-300x146.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, you’ll see all the tags that you can use in the automated coupon.</p>



<p>We’re going to use the {{contact_first_name}} tag, but you can use any tags you want.</p>



<figure class="wp-block-image size-full"><img width="680" height="333" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/merge-tags-name.png" alt="How to create a personalized coupon code with merge tags" class="wp-image-158678" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/merge-tags-name.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/merge-tags-name-300x147.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Simply copy each tag and then paste it into the ‘Coupon Code Prefix’ field.</p>



<p>As you can see in the following image, you can use a mix of plain text and tags.</p>



<figure class="wp-block-image size-full"><img width="680" height="355" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/tags-coupon-code.png" alt="How to create a personalized and dynamic coupon code" class="wp-image-158724" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/tags-coupon-code.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/tags-coupon-code-300x157.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>By default, the coupon will never expire. A sense of urgency and <a href="https://www.wpbeginner.com/wp-tutorials/how-to-use-fomo-on-your-wordpress-site-to-increase-conversions/" title="How to Use FOMO on Your WordPress Site to Increase Conversions">FOMO</a> can push customers to use a coupon, so you may want to select the radio button next to ‘Expire after Specific Days’ or ‘Expire on Specific Date.’</p>



<p>You can then use the controls to specify when the coupon will expire.</p>



<figure class="wp-block-image size-full"><img width="680" height="326" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-expiry-date.png" alt="Adding a coupon expiration date to your WordPress coupon " class="wp-image-158680" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-expiry-date.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-expiry-date-300x144.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Finally, you can choose whether the coupon gives customers a <a href="https://www.wpbeginner.com/plugins/how-to-offer-a-shipping-discount-in-woocommerce/" title="How to Offer a Shipping Discount in WooCommerce">free shipping discount</a>.</p>



<p>Shoppers love free shipping, so you may want to consider adding this to your coupon by selecting the ‘Yes’ radio button under ‘Allow Free Shipping.’</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/free-shipping-coupon.png" alt="How to create a free shipping discount for your online store" class="wp-image-158681" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/free-shipping-coupon.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/free-shipping-coupon-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>When you’re happy with how the coupon is set up, make sure you copy the small pieces of code under the ‘Coupon Title.’</p>



<p>You’ll need this coupon code for the email we&#8217;ll be creating in the next step, so store it somewhere safe.</p>



<figure class="wp-block-image size-full"><img width="680" height="244" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-coupon-code.png" alt="Creating an automated coupon to win back customers" class="wp-image-158682" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-coupon-code.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-coupon-code-300x108.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>With that done, click on ‘Save’ to store your changes.</p>



<p>Now we have a coupon, it’s time to create the email that FunnelKit will send to your customers. To add an email action, click on the ‘+’ button and then select ‘Action.’</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-email-action.png" alt="Add an email action to win back customers" class="wp-image-158683" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-email-action.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-email-action-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>If it isn’t already selected, then click on ‘Messaging’ in the left-hand menu.</p>



<p>Then, select ‘Send Email’ and click on ‘Done.’</p>



<figure class="wp-block-image size-full"><img width="680" height="329" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/send-email-action.png" alt="Choosing an action in the FunnelKit automation plugin" class="wp-image-158684" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/send-email-action.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/send-email-action-300x145.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can now create an email by typing in a subject and preview, and adding body text.</p>



<p>Similar to creating a coupon, it’s best to use a mix of plain text and tags. To add dynamic tags, click on the ‘Merge Tags’ icons that appear next to the To, Subject, and Preview Text fields.</p>



<figure class="wp-block-image size-full"><img width="680" height="370" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/merge-tags-email.png" alt="How to create a personalized email to win back customers" class="wp-image-158685" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/merge-tags-email.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/merge-tags-email-300x163.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>If you want to add tags to the email body, then you can click on the ‘Merge Tags’ button.</p>



<p>To add your coupon code, simply paste or type in the <code>{{wc_dynamic_coupon id=</code> code we copied in the previous step.</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/winback-email-example.png" alt="Create a personalized email to bring back customers" class="wp-image-158687" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/winback-email-example.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/winback-email-example-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>When you’re happy with how the email looks, click on ‘Save &amp; Close.’</p>



<p>That’s it. When you’re ready to make the automation live, click on the ‘Inactive’ slider so it turns to ‘Active.’</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-publishing-automation.png" alt="Making your workflow automation live" class="wp-image-158688" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-publishing-automation.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/funnelkit-publishing-automation-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, FunnelKit will automatically send the coupon to any customer who hasn’t purchased from you in the past 30 days.</p>



<h4 id="aioseo-method-2-using-uncanny-automator-over-100-integrations"><strong>Method 2. Using Uncanny Automator (Over 100 Integrations)</strong></h4>



<p>Another way to send automated coupons in WordPress, is by using <a href="https://www.wpbeginner.com/refer/uncanny-automator/"  rel="noopener nofollow" title="The Uncanny Automator WordPress automation plugin">Uncanny Automator</a>. It is one of the <a href="https://www.wpbeginner.com/showcase/best-wordpress-automation-tools-and-plugins/" title="Best WordPress Automation Tools and Plugins Compared">best WordPress automation plugins</a> on the market and lets you create powerful workflows to save time and help you respond to customers more quickly.</p>



<p>Uncanny Automator works seamlessly with WooCommerce, plus all of the <a href="https://www.wpbeginner.com/showcase/24-must-have-wordpress-plugins-for-business-websites/" title="Must Have WordPress Plugins for Business Websites">must have WordPress plugins</a> and third-party tools. If you’re already using lots of different software on your online store, then Uncanny Automator may be a good choice for you.</p>



<p>There is a <a href="https://wordpress.org/plugins/uncanny-automator/">free Uncanny Automator plugin</a> that lets you automate many common tasks. However, we’ll be using Uncanny Automator pro because it works with WooCommerce.</p>



<p>To start, you’ll need to install Uncanny Automator pro, plus the free plugin as it provides the base for the premium version. If you need help, then please see our guide on <a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners">how to install a WordPress plugin</a>.</p>



<p>Upon activation, go to <strong>Automator » Settings</strong> and enter your license key into the ‘Uncanny Automator Pro license key’ field.</p>



<figure class="wp-block-image size-full"><img width="680" height="245" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-license.png" alt="Adding an Uncanny Automator license to your WordPress website" class="wp-image-158725" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-license.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-license-300x108.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You&#8217;ll find this information under your account on the Uncanny Automator website.</p>



<p>Uncanny Automator is a powerful and flexible plugin, so there’s lots of different ways that you can bring customers back to your site. Let’s take a look at a few options.</p>



<p><strong>Automatically Send Coupons to Logged-Out Customers</strong></p>



<p>It’s smart to let customers create an account with your online store, as it encourages brand loyalty and makes it easier for shoppers to buy from you in the future.</p>



<p>User registration can also help with lead generation. If you get the shopper’s email address, then you can target them with <a href="https://www.wpbeginner.com/showcase/best-email-marketing-services/" title="Best Email Marketing Services for Small Business">email marketing</a>, personalized ads, an <a href="https://www.wpbeginner.com/beginners-guide/how-to-create-an-email-newsletter/" title="How to Create an Email Newsletter the RIGHT WAY (Step by Step)">email newsletter</a>, and much more.</p>



<p>If you’re using WooCommerce, then this plugin automatically creates all the pages customers need to create and manage an account. WooCommerce also adds a new Customer role, which it automatically assigns to any shoppers who register with your store.</p>



<p>Are you using a different eCommerce solution that doesn&#8217;t support customer registration? Then see our guide on <a href="https://www.wpbeginner.com/beginners-guide/how-to-allow-user-registration-on-your-wordpress-site/" title="How to Allow User Registration on Your WordPress Site">how to allow user registration on your WordPress site</a>. </p>



<p>After that, you can simply create a new role for your customers. For detailed instructions, please see our <a href="https://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/" title="Beginner’s Guide to WordPress User Roles and Permissions">beginner’s guide to WordPress user roles and permissions.</a></p>



<p>If you allow user registration, then you can track when a shopper logs out of their account, as this suggests they’re losing interest in your store. You can then send a coupon to encourage them to log back in.</p>



<p>To create this recipe, simply go to <strong>Automator » Add new</strong> in the WordPress dashboard.</p>



<p>Uncanny Automator will now ask whether you want to create a recipe for logged-in users, or everyone. Go ahead and select ‘Logged-in users,’ then click on the ‘Confirm’ button.</p>



<figure class="wp-block-image size-full"><img width="680" height="346" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-loggedin.png" alt="Creating a logged-in automation recipe with Uncanny Automator" class="wp-image-158689" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-loggedin.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-loggedin-300x153.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you can give the recipe a name by typing into the ‘Title’ field. This is just for your reference so you can use anything you want.</p>



<p>Once you’ve done that, click on ‘WordPress’ in the ‘Select an integration’ area.</p>



<figure class="wp-block-image size-full"><img width="680" height="295" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/wordpress-integration-uncannyautomator.png" alt="Select WooCommerce as an integration" class="wp-image-158969" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/wordpress-integration-uncannyautomator.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/wordpress-integration-uncannyautomator-300x130.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can now choose a trigger, which is anything that kickstarts the recipe.</p>



<p>In the dropdown menu, start typing the following ‘A user logs out of a site’ and then select the right option when it appears.</p>



<figure class="wp-block-image size-full"><img width="680" height="320" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-trigger.png" alt="Choosing a trigger for the automated coupon recipe " class="wp-image-158691" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-trigger.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-trigger-300x141.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>We only want to run the workflow when someone with the ‘Customer’ user role logs out of their account.</p>



<p>With that in mind, click on the ‘Add filter’ button.</p>



<figure class="wp-block-image size-full"><img width="680" height="337" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-filter-customer.png" alt="How to create an automation workflow for your WooCommerce customers" class="wp-image-158692" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-filter-customer.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/add-filter-customer-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In the popup that appears, click on ‘WordPress.’</p>



<p>Next, find ‘The user has a specific role’ in the dropdown menu.</p>



<figure class="wp-block-image size-full"><img width="680" height="379" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncannyautomator-role-filter.png" alt="Filtering your users based on WordPress role" class="wp-image-158693" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncannyautomator-role-filter.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/uncannyautomator-role-filter-300x167.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Open the ‘Role’ dropdown and select the role you’re using for your customers.</p>



<p>After that, go ahead and click on ‘Save filter.’</p>



<figure class="wp-block-image size-full"><img width="680" height="298" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/save-customer-filter.png" alt="Sending an automated coupon to your WooCommerce customers" class="wp-image-158694" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/save-customer-filter.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/save-customer-filter-300x131.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now it’s time to specify the action that Uncanny Automator will perform every time this workflow runs.</p>



<p>We’re going to send the customer an email containing a coupon, so go ahead and click on ‘Add action.’</p>



<figure class="wp-block-image size-full"><img width="680" height="330" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-action.png" alt="Adding actions to an automated recipe " class="wp-image-158695" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-action.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/uncanny-automator-action-300x146.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Since we want to send an email, select ‘Emails’ as the integration.</p>



<p>In the dropdown that appears, click on ‘Send an email.’</p>



<figure class="wp-block-image size-full"><img width="680" height="343" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/send-email-uncannyautomator.png" alt="Send automated coupons in WordPress to bring back customers" class="wp-image-158697" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/send-email-uncannyautomator.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/send-email-uncannyautomator-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This adds all the fields that you can use to create the email.</p>



<p>To start, we need to make sure the message goes to the right user, by clicking on the asterisk next to the ‘To’ field. Then, select ‘Common’ and ‘User email.’</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/common-user-email.png" alt="Getting the customer's email address" class="wp-image-158699" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/common-user-email.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/common-user-email-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can now create the email by adding a subject line and body text.</p>



<p>Here, you can use a mix of plain text and tokens, which are placeholders that Uncanny Automator replaces with real values automatically. For example, if you want to use the customer’s name, then you can click on the asterix and select ‘Common.’</p>



<p>Simply select the ‘User first name’ token to create the personalized greeting.</p>



<figure class="wp-block-image size-full"><img width="680" height="341" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/user-name-token.png" alt="Adding a dynamic user name token to the coupon workflow" class="wp-image-158700" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/user-name-token.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/user-name-token-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You’ll also need to create a coupon and add it to the email.</p>



<p>The easiest way is by using the <a href="https://www.wpbeginner.com/refer/advanced-coupon-plugin/"  rel="noopener nofollow" title="The Advanced Coupons WordPress plugin">Advanced Coupons</a> plugin, which is the <a href="https://www.wpbeginner.com/plugins/best-wordpress-coupon-code-plugins-for-your-online-store/" title="Best WordPress Coupon Code Plugins for Your Online Store">best WordPress coupon code plugin</a> on the market. It lets you create lots of different advanced coupons to get more sales and grow your business.</p>



<p>For a step-by-step guide, please see our post on <a href="https://www.wpbeginner.com/plugins/how-to-create-smart-coupons-in-woocommerce/" title="How to Create Smart Coupons in WooCommerce">how to create smart coupons</a>.</p>



<p>After creating a coupon, you can simply add it to the email.</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-coupon-email.png" alt="Sending an automated coupon email in WordPress to bring back customers" class="wp-image-158701" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-coupon-email.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-coupon-email-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>When you’re happy with how the email looks, click on ‘Save.’</p>



<p>After that, it’s time to set a delay. This is how long Uncanny Automator will wait after the customer logs out, before sending them the coupon.</p>



<p>To add a delay, hover your mouse over the ‘Email’ action. When it appears, click on ‘Delay.&#8217;</p>



<figure class="wp-block-image size-full"><img width="680" height="260" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-delay-automation-.png" alt="How to add a delay to an automation workflow" class="wp-image-158702" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-delay-automation-.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-delay-automation--300x115.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can then add your delay in the popup that appears.</p>



<p>Once you’ve done that, go ahead and select ‘Set delay.’</p>



<figure class="wp-block-image size-full"><img width="680" height="372" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/set-delay-uncannyautomator.png" alt="Adding a time delay to the automated coupon recipe " class="wp-image-158703" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/set-delay-uncannyautomator.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/set-delay-uncannyautomator-300x164.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>When you’re happy with how the recipe is set up, it’s time to make it active.</p>



<p>In the ‘Recipe’ box, click the ‘Draft’ switch so that it shows ‘Live’ instead.</p>



<figure class="wp-block-image size-full"><img width="680" height="358" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/publishing-coupon-workflow.png" alt="Publishing the automated coupon recipe " class="wp-image-158704" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/publishing-coupon-workflow.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/publishing-coupon-workflow-300x158.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>That’s it. Now, when a customer logs out of their account, Uncanny Automator will wait for the specified amount of time before sending them a coupon code.</p>



<p><strong>Automatically Send Coupons for a Specific Product</strong></p>



<p>Sometimes a shopper may look at a product multiple times. This suggests they’re interested in the item, but something is stopping them from making a purchase.</p>



<p>In this case, you may want to send them a coupon, which will encourage them to splash out on the product.</p>



<p>To get started, create a new recipe for logged-in users following the same process described above. After that, click on ‘WooCommerce’ in the ‘Select an integration’ area.</p>



<figure class="wp-block-image size-full"><img width="680" height="293" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-integration-uncannyautomator-1.png" alt="Adding WooCommerce as an integration in Uncanny Automator" class="wp-image-158705" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-integration-uncannyautomator-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-integration-uncannyautomator-1-300x129.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, choose a trigger by typing the following ‘A user views a product.’</p>



<p>When the right trigger appears, give it a click.</p>



<figure class="wp-block-image size-full"><img width="680" height="226" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/user-views-product.png" alt="Get more sales with an automated coupon recipe" class="wp-image-158706" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/user-views-product.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/user-views-product-300x100.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>By default, this trigger is set to ‘Any product.’</p>



<p>If you want to link the recipe to a specific product, then open the ‘Product’ dropdown and choose that product from the list.</p>



<figure class="wp-block-image size-full"><img width="680" height="384" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncannyautomator-product-dropdown.png" alt="Choose a WooCommerce product from the dropdown menu" class="wp-image-158708" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/uncannyautomator-product-dropdown.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/uncannyautomator-product-dropdown-300x169.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Once you’ve done that, click on the ‘Number of times’ button.</p>



<p>By default, the recipe will run every time a customer looks at a product. You should change this, so the customer has to look at the product multiple times before triggering the recipe. To do this, type a different number into the ‘Number of times’ field.</p>



<figure class="wp-block-image size-full"><img width="680" height="310" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/product-number-times.png" alt="Triggering a workflow when the customer views a product multiple times" class="wp-image-158709" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/product-number-times.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/product-number-times-300x137.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>When that’s done, click on ‘Save’ to store your settings.</p>



<p>This recipe should only run when a customer views a product, so click on ‘Add Filter.&#8217; In the popup that appears, click on ‘WordPress’ and then choose ‘The user has a specific role.’</p>



<figure class="wp-block-image size-full"><img width="680" height="370" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-filters-workflow.png" alt="Adding WooCommerce features to an automation recipe" class="wp-image-158710" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-filters-workflow.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/adding-filters-workflow-300x163.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, open the ‘Role’ dropdown and select the role you’re using for your customers.</p>



<p>When you’re ready, click on ‘Save filter.’</p>



<figure class="wp-block-image size-full"><img width="680" height="298" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/save-customer-filter-1.png" alt="Configuring the automated coupon rule" class="wp-image-158711" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/save-customer-filter-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/save-customer-filter-1-300x131.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now it’s time to add the action. There are a few different ways to send automated coupons from your WordPress website. </p>



<p>To email a code to your customers using Uncanny Automator and Advanced Coupons, simply follow the same process described above.</p>



<p>Another option is to generate the code using WooCommerce. To do this, click on ‘Add Action’ and then select ‘WooCommerce’ as the integration.</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-woocommerce-integration.png" alt="Selecting the WooCommerce eCommerce plugin as an integration" class="wp-image-158712" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-woocommerce-integration.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-woocommerce-integration-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In the search bar, start typing ‘Generate and email a coupon code to the user.’</p>



<p>When the right option appears, give it a click.</p>



<figure class="wp-block-image size-full"><img width="680" height="225" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/generating-woocommerce-coupon.png" alt="Generating a WooCommerce coupon" class="wp-image-158714" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/generating-woocommerce-coupon.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/generating-woocommerce-coupon-300x99.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will add some new settings where you can create the coupon code.</p>



<p>To generate a code automatically, simply leave the ‘Coupon code’ field blank.</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/creating-woocommerce-coupon.png" alt="How to create a coupon for your WooCommerce online store" class="wp-image-158715" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/creating-woocommerce-coupon.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/creating-woocommerce-coupon-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In the ‘Discount type’ field, choose the kind of coupon that you want to create, such as a fixed cart discount or percentage discount.</p>



<p>For this guide, we’ll select ‘Percentage discount’.</p>



<figure class="wp-block-image size-full"><img width="680" height="375" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-percentage-discount.png" alt="How to create a percentage discount code" class="wp-image-158716" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-percentage-discount.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/automated-percentage-discount-300x165.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, type the percentage discount into the ‘Coupon amount’ field.</p>



<p>In the following image, we’re offering customers a 30% discount on their purchase.</p>



<figure class="wp-block-image size-full"><img width="680" height="228" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/percentage-coupon-amount.png" alt="Creating a percentage coupon code" class="wp-image-158717" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/percentage-coupon-amount.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/percentage-coupon-amount-300x101.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>In the next field, you can set an expiry date for the coupon, either by using the YYY-MM-DD format or typing in the number of days until the coupon expires.</p>



<p>For example, in the following image the coupon will expire after 7 days.</p>



<figure class="wp-block-image size-full"><img width="680" height="330" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/set-coupon-expiration.png" alt="Adding an expiration date to an automated coupon code" class="wp-image-158718" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/set-coupon-expiration.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/set-coupon-expiration-300x146.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can also set a minimum and maximum spend for the coupon. We’ll leave these fields blank so the customer can use the code with any purchase.</p>



<p>You may also want to check the ‘For individual use only’ box so customers can’t use this code in combination with other coupons.</p>



<figure class="wp-block-image size-full"><img width="680" height="345" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-individual-use.png" alt="Creating a coupon for individual use" class="wp-image-158719" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-individual-use.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/coupon-individual-use-300x152.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, scroll to the ‘Usage limit per coupon’ section. The shopper should only be able to use the coupon once, so type in ‘1.’</p>



<p>There are lots of other settings you can change for the coupon. It’s a good idea to look through these settings to see whether you want to make any more changes.</p>



<p>When you’re happy with how the coupon is set up, scroll to the ‘Email’ section. To start, find the ‘To’ field and then click on the asterisk next to it. Then, click on ‘Common’ and select ‘User email.’</p>



<figure class="wp-block-image size-full"><img width="680" height="374" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/email-token-uncannyautomator.png" alt="Creating an automated coupon email to bring back shoppers" class="wp-image-158720" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/email-token-uncannyautomator.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/email-token-uncannyautomator-300x165.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>With that done, you can add a subject line and change the text in the email body.</p>



<p>To create a more personalized email, it’s a good idea to use a mix of plain text and tokens, by following the same process described above.</p>



<figure class="wp-block-image size-full"><img width="680" height="367" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-email-coupon.png" alt="Adding a coupon to your WooCommerce email" class="wp-image-158721" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-email-coupon.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/woocommerce-email-coupon-300x162.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>When you’re happy with the email, click on the ‘Save’ button to store the recipe.</p>



<p>After that, you can make the recipe live by clicking the ‘Draft’ switch so that it shows ‘Live.&#8217;</p>



<figure class="wp-block-image size-full"><img width="680" height="358" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/publishing-coupon-workflow-1.png" alt="Making an Uncanny Automator recipe live on your WordPress website" class="wp-image-158722" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/publishing-coupon-workflow-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/publishing-coupon-workflow-1-300x158.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, every time someone views a product multiple times, it’ll trigger the recipe workflow.</p>



<p>We hope this article helped you learn how to send automated coupons in WordPress to bring back customers. You may also want to check out our guide on <a href="https://www.wpbeginner.com/wp-tutorials/how-to-create-a-woocommerce-popup-to-increase-sales/" title="How to Create a WooCommerce Popup to Increase Sales (Proven Methods)">how to create a WooCommerce popup to increase sales</a> and the <a href="https://www.wpbeginner.com/plugins/20-best-free-woocommerce-plugins-for-wordpress/" title="Best WooCommerce Plugins for Your Store (Most are FREE)">best WooCommerce plugins for your store</a>. </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/wp-tutorials/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers/">How to Send Automated Coupons in WordPress to Bring Back Customers</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/woocommerce/how-to-send-automated-coupons-in-wordpress-to-bring-back-customers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
		<item>
		<title>How to Send Email in WordPress using the Gmail SMTP Server</title>
		<link>http://www.wpwife.com/wordpress-plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server</link>
		<comments>http://www.wpwife.com/wordpress-plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server#comments</comments>
		<pubDate>Wed, 31 Jan 2018 15:00:25 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[contact form 7 not sending to gmail]]></category>
		<category><![CDATA[gravity forms not sending to gmail]]></category>
		<category><![CDATA[how to send email in wordpress using gmail smtp server]]></category>
		<category><![CDATA[wordpress gmail not working]]></category>
		<category><![CDATA[wordpress gmail smtp server]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[wp mail smtp]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=3764</guid>
		<description><![CDATA[
<p>Are you having trouble sending emails from your WordPress site? One easy way to solve this is by sending WordPress emails using the Gmail SMTP server. In this article, we will show you how to send emails from your WordPress site using the Gmail SMTP&#8230;&#160;<strong><a href="http://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/">Read More &#187;</a></strong></p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/">How to Send Email in WordPress using the Gmail SMTP Server</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Are you having trouble sending emails from your WordPress site? One easy way to solve this is by sending WordPress emails using the Gmail SMTP server. In this article, we will show you how to send emails from your WordPress site using the Gmail SMTP server. </p>
<p><img title="Send WordPress emails using Gmail SMTP server" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/gmailsmtpforwp-1.png" alt="Send WordPress emails using Gmail SMTP server" width="550" height="340" class="alignnone size-full wp-image-49396" /></p>
<h4>Why and When You Need Gmail SMTP Server for WordPress Emails</h4>
<p>Your WordPress site sends emails to notify you of <a href="http://www.wpbeginner.com/beginners-guide/how-to-add-new-users-and-authors-to-your-wordpress-blog/" title="How to Add New Users and Authors to Your WordPress Blog">new user registration</a>, <a href="http://www.wpbeginner.com/beginners-guide/forgot-your-password-how-to-recover-a-lost-password-in-wordpress/" title="Forgot your Password? How to Recover a Lost Password in WordPress">lost password reset</a>, automatic updates, and even notifications from your <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 forms</a>.</p>
<p>By default, WordPress uses the <a href="http://www.wpbeginner.com/glossary/php/" title="PHP">PHP</a> mail function to send out email notifications. However, this function does not work as expected due to a number of reasons. </p>
<p>Most <a href="http://www.wpbeginner.com/wordpress-hosting/" title="How to Choose The Best WordPress Hosting?">WordPress hosting</a> companies restrict usage of this function to prevent abuse and spam. </p>
<p><a href="http://www.wpbeginner.com/glossary/spam/" title="What is Spam in WordPress?">Spam</a> filters on popular email service providers check incoming emails to monitor if they are sent from authentic mail servers. Default WordPress emails fail this check and sometimes may not even make it to the spam folder. </p>
<p>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>Gmail provides SMTP service that you can use to send out emails from your WordPress site. If you just want to send <a href="http://www.wpbeginner.com/plugins/how-to-add-better-custom-notifications-in-wordpress/" title="How to Add Better Custom Notifications in WordPress">WordPress notification emails</a> to yourself and few users on your site, then Gmail SMTP servers are the best option. </p>
<p>However, if you are planning on sending <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">newsletter emails</a> using WordPress, then you should use a mass emailing service provider, like MailGun or SendGrid. </p>
<h4>Free vs Paid Gmail SMTP Service for WordPress</h4>
<p>You can use your free Gmail account to send out WordPress emails. However, for better deliverability, we recommend using paid <a href="http://www.wpbeginner.com/refer/google-apps-work/"  title="Google Apps for Work" rel="nofollow">Google Apps for Work</a> with Gmail. </p>
<p>With Google Apps for Work, you get your own <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 branded email address with Google Apps for Work">professional branded email address</a> such as (name@yoursite.com). </p>
<p>Google Apps require you to add MX records to your domain name which means that your emails will appear to be coming from your own domain name boosting authenticity and ensuring better deliverability. </p>
<p>We use Google Apps for Work for WPBeginner and can honestly say it’s the best.</p>
<h4>How to Send WordPress Emails Using Gmail SMTP Server</h4>
<p>If you decided to use <a href="http://www.wpbeginner.com/refer/google-apps-work/"  title="Google Apps for Work" rel="nofollow">Google Apps for Work</a>, then you first need to set up your domain to work with Google Apps. We have a step by step tutorial on how to setup a <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">professional email address with Google Apps and Gmail</a>. </p>
<p>Rest of the instructions are the same whether you are using paid or free Gmail account. </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> page to configure the plugin settings.</p>
<p><img title="WP Mail SMTP Settings" src="http://cdn.wpbeginner.com/wp-content/uploads/2016/03/wpmailsmtp-settings.png" alt="WP Mail SMTP Settings" width="550" height="393" class="alignnone size-full wp-image-49019" /></p>
<p>First you need to make sure that you use your Gmail email address in the &#8216;From Email&#8217; field. Next, you need to provide the sender name. </p>
<p>WP Mail SMTP plugin offers two ways to connect your WordPress site to the Gmail servers. </p>
<p>The first method uses OAuth Authentication. This is a more secure method to send emails using Gmail servers. </p>
<p>The second method is by entering Gmail SMTP settings manually. This method is not recommended because it is less secure.  </p>
<p>That being said, let&#8217;s set up WordPress to use Gmail SMTP for sending emails. </p>
<h4>Method 1: Setting up Gmail to Send WordPress Emails using OAuth Protocol</h4>
<p>This method is recommended for all users. It is more secure and once you set it up, you&#8217;ll never have to do that again.</p>
<p>You need to start by selecting Gmail as your mailer and set the return path to be the same as sender. </p>
<p><img title="Select Gmail and set return path" src="http://cdn4.wpbeginner.com/wp-content/uploads/2016/03/selectgmailsender.png" alt="Select Gmail and set return path" width="550" height="245" class="alignnone size-full wp-image-49020" /></p>
<p>Next, you will see the option to enter your Client ID, Client Secret, and a URL in &#8216;Authorized redirect URI&#8217; field. </p>
<p>Let&#8217;s set up these fields. </p>
<h4>Creating an App and Generate API Keys for Gmail</h4>
<p>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 a new Google Developer Console project" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/create-gdc-project.png" alt="Create a new Google Developer Console project" width="550" height="179" class="alignnone size-full wp-image-49023" /></p>
<p>If you don&#8217;t see the blue button to create a project, then you can also click on select a project drop down and create a new project. </p>
<p>You&#8217;ll be asked to provide a name for your project. Give it a memorable name, so that you can easily recognize it in the future. </p>
<p><img title="Name your project" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/nameproject.png" alt="Name your project" width="550" height="257" class="alignnone size-full wp-image-49024" /></p>
<p>After that, click on the create button to continue. </p>
<p>Developer console will now create your project and take you to its dashboard. Google offer developers access to many of their APIs and services. You need to enable the APIs that you will be needing for this project. </p>
<p><img title="Enable APIs" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/enable-apis.png" alt="Enable APIs" width="550" height="221" class="alignnone size-full wp-image-49025" /></p>
<p>Click on Enable APIs and services button to continue. </p>
<p>This will bring you to the APIs library page. Next, you need to type Gmail in the search box to quickly find the Gmail API and click to select it. </p>
<p><img title="Select Gmail API" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/selectgmailapi.png" alt="Select Gmail API" width="550" height="267" class="alignnone size-full wp-image-49026" /></p>
<p>You will now see an overview of the API and what it can do. Simply click on the &#8216;Enable&#8217; button to continue. </p>
<p><img title="Enale Gmail API" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/enablegmailapi.png" alt="Enale Gmail API" width="550" height="289" class="alignnone size-full wp-image-49027" /></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://cdn4.wpbeginner.com/wp-content/uploads/2017/12/createcredentials.png" alt="Create credentials" width="550" height="244" class="alignnone size-full wp-image-49028" /></p>
<p>On the next screen, you will need to select <em>&#8216;Web browser JavaScript&#8217;</em> in <em>&#8216;Where you&#8217;ll be calling the API from&#8217;</em> field. After that click on the &#8216;User Data&#8217; option.</p>
<p><img title="API credentials step 1" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/api-creds1.png" alt="API credentials step 1" width="550" height="338" class="alignnone size-full wp-image-49029" /> </p>
<p>To continue, click on the &#8216;What credentials do I need?&#8217; button. </p>
<p>You will now be asked to provide a name for your OAuth client name. You can enter &#8216;WP Mail SMTP&#8217; here. </p>
<p><img title="API Credentials step 2" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/api-creds2.png" alt="API Credentials step 2" width="550" height="322" class="alignnone size-full wp-image-49031" /></p>
<p>Under JavaScript origins field, you need to add your website&#8217;s domain name. Next, you need to copy and paste the authorized redirect URL from WP Mail SMTP plugin settings. </p>
<p>After that click on the &#8216;Create client ID&#8217; button to continue. </p>
<p>Next, you need to enter a name for OAuth consent screen. You can put the plugin&#8217;s name here. </p>
<p><img title="Ouath consent screen" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/api-creds3.png" alt="Ouath consent screen" width="550" height="226" class="alignnone size-full wp-image-49032" /></p>
<p>After entering the details, click on the continue button and the developer console will show your client ID. You can copy and paste this in the WP Mail SMTP plugin&#8217;s settings page. However, you will still need to add your client secret key.</p>
<p><img title="Getting your client ID" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/clientid.png" alt="Getting your client ID" width="550" height="315" class="alignnone size-full wp-image-49033" /></p>
<p>Go ahead and click on the Done button to move on.</p>
<p>You will now be taken to your project&#8217;s credentials page. You will see your recently created credentials listed there. You need to click on the edit icon next to your credentials to continue. </p>
<p><img title="Edit credentials" src="http://cdn2.wpbeginner.com/wp-content/uploads/2017/12/editcreds.png" alt="Edit credentials" width="550" height="286" class="alignnone size-full wp-image-49034" /> </p>
<p>This will bring you to the 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&#8217;s settings page. </p>
<p><img title="Client secret key" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/clientsecret.png" alt="Client secret key" width="550" height="255" class="alignnone size-full wp-image-49035" /></p>
<p>Return back to plugin&#8217;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 client credentials in plugin settings" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/saveclientcreds.png" alt="Save client credentials in plugin settings" width="550" height="301" class="alignnone size-full wp-image-49036" /></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 &#8216;Allow plugin to send emails using your Google account&#8217; button. </p>
<p><img title="Allow plugin to send emails" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/allowplugin.png" alt="Allow plugin to send emails" width="550" height="286" class="alignnone size-full wp-image-49037" /></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 Gmail" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/allowgmail.png" alt="Allow Gmail" width="550" height="348" class="alignnone size-full wp-image-49038" /></p>
<p>Click on Allow button to give permissions. </p>
<p>After that, you will be redirected back to your website where you will see a success message. </p>
<p><img title="Connected successfully" src="http://cdn3.wpbeginner.com/wp-content/uploads/2017/12/connectedsuccess.png" alt="Connected successfully" width="550" height="253" class="alignnone size-full wp-image-49039" /></p>
<h4>Method 2: Setting up Gmail SMTP as SMTP Sender</h4>
<p>This method allows you to manually connect to Gmail&#8217;s SMTP servers to send your WordPress emails. </p>
<p>First, you need to visit <strong>Settings &raquo; WP Mail SMTP</strong> page to configure the plugin settings. </p>
<p>You need to start by providing the Gmail address you want to use in the From email field, and your name in the name field.</p>
<p><img title="Gmail SMTP" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/gmail-smtp.png" alt="Gmail SMTP" width="550" height="301" class="alignnone size-full wp-image-49041" /></p>
<p>Next, you need to select &#8216;Other SMTP&#8217; as your mailer and check the box next to return path. </p>
<p>After that, scroll down to the Other SMTP section to configure more settings. </p>
<p><img title="Gmail SMTP settings for WP Mail SMTP plugin" src="http://cdn.wpbeginner.com/wp-content/uploads/2017/12/gmailsmtp-wpmailsmtp.png" alt="Gmail SMTP settings for WP Mail SMTP plugin" width="550" height="359" class="alignnone size-full wp-image-49042" /></p>
<p>Here is the exact configuration you need to add in 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>Once you are done, click on the save changes button to store your settings. </p>
<p>That&#8217;s all, you have successfully setup WP Mail SMTP to use Gmail SMTP servers. </p>
<h4>Testing Your WP Mail SMTP Settings</h4>
<p>WP Mail SMTP plugin allows you to test your email settings, so you can make sure that everything is working properly.</p>
<p>You need to visit <strong>Settings &raquo; WP Mail SMTP</strong> page and click on the &#8216;Email Test&#8217; tab. Simply provide an email address that you can access in the send to field and click on the send email button. </p>
<p><img title="Send test email" src="http://cdn4.wpbeginner.com/wp-content/uploads/2017/12/sendtestemail-1.png" alt="Send test email " width="550" height="322" class="alignnone size-full wp-image-49043" /></p>
<p>You will see a success message. You can now check your inbox to see a message with the subject line &#8216;WP Mail SMTP: Test Email to&#8230;&#8217;. </p>
<p>That&#8217;s all, you have successfully setup your WordPress site to send emails using Gmail SMTP servers.  </p>
<h4>Troubleshooting Gmail SMTP Not Working Issues</h4>
<p>We have seen users encounter few issues when using Gmail SMTP with certain <a href="http://www.wpbeginner.com/the-truth-about-shared-wordpress-web-hosting/" title="The Truth About Shared WordPress Web Hosting">shared hosting</a> configurations.</p>
<p>Take the following steps to fix the Gmail SMTP issue:</p>
<ol>
<li>Login to your cPanel account and create an email account that matches your Google apps email address. This might seem strange because you&#8217;re not using your server for emails. This step basically tricks your server into believing that you&#8217;re sending the email through the server.</li>
<li>In your cPanel account, go to the MX Records and change the MX routing from automatic to remote. It might be a little tricky to find since each host now has custom cPanel interface. You need to look for a small link next to MX that says Email Routing: Remote Mail Exchanger.</li>
<li>After that log back into your WordPress site and send a test email.</li>
</ol>
<p>We hope this article helped you learn how to send email in WordPress using the Gmail SMTP server. You may also want to see our list of the <a href="http://www.wpbeginner.com/plugins/5-best-contact-form-plugins-for-wordpress-compared/" title="5 Best Contact Form Plugins for WordPress Compared">5 best contact form plugins for WordPress</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/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/">How to Send Email in WordPress using the Gmail SMTP Server</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/wordpress-plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
