‘WordPress not sending email’ problems
Nothing can be more frustrating than WordPress not sending or receiving email notifications. And, there’s never a warning. In fact, one of the most common small issues WordPress admins face is it’s seemingly random ability to stop sending out email notifications. You definitely do not want that to happen while soliciting registrations on the site. Not only it chops the process, it gives impression that the site is not working properly. But the thing is, most of the times it does not have to do anything with WordPress. You can tinker with the settings (there are hardly any settings so to speak of!), seek help on forums or countless other unproductive things.
By default, WordPress contact and registration form emails are relayed through your hosting server. Since each server is different, not all solutions available on the web will fix your problem. In fact, it is far more likely, that you will end up frustrated. So how does RegistrationMagic bails you out? We do it by totally bypassing the server email process. Here’s how:
Turning on smtp for WordPress emails
Inside Global Settings, there’s a tab for Email Notifications.
On the next page there’s a checkbox for Enable SMTP, checking reveals new set of options.
SMTP is a common protocol for sending out emails. When we configure mail apps on our phones, most of the times the mails we send out go via SMTP. Gmail uses it; And so does outlook.com, Yahoo, iCloud and all major email providers. The values we need to fill in these input boxes depend on which email service we will use to send emails. Every provider has its own configuration accessible in its settings area. There are even providers who provide specialized SMTP relay services for large amount of outgoing emails for a monthly charge.
Setting up SMTP to work with WordPress registrations
In this demonstration we will use a random Gmail account to set up outgoing emails. Gmail SMTP settings can be accessed by opening Inbox, clicking on the cog button on top right and then going to Settings in drop down menu.
On the next page, click on the Forwarding and POP/ IMAP tab on top.
Now click on the Enable IMAP radiobox. This will turn on IMAP/ SMTP system on our Gmail account.
After saving, we need to go to Configuration Instructions link down below.
It will take us to a new page where Gmail’s configuration for IMAP and SMTP is displayed. We only need SMTP values. IMAP is for incoming email, which is usually used for fetching email on computer email clients and mobile apps.
Here are the corresponding values for RegistrationMagic fields:
SMTP HOST: smtp.gmail.com
ENCRYPTION TYPE: SSL
SMTP PORT: 465
USERNAME: Your Gmail Username
PASSWORD: Your Gmail Password
Next we test if the settings are working or not. For that there’s Email Address For Testing input box. RegistrationMagic will try to send an email to this address using the SMTP relay configuration above. If everything goes well, we’ll see a Success message with green tick. If there’s a problem, we’ll get a Failed notification like this:
Testing SMTP with WordPress
As another confirmation once the email has gone out, we can see it in our Sent items folder inside Gmail. This is additional advantage of using SMTP – all outgoing mails are neatly catalogued inside outgoing mailbox.
Settings for other service providers differ, so better consult yours if you face any problems. Most email providers put a cap on number of emails to be sent per hour and per day to avoid abuse of their systems. If you look forward to large amount of traffic on your site, be sure to check out professional SMTP relay services like sendgrid.com, mailjet.com and Amazon SES.
Hopefully, this will help you in addressing in your woes on WordPress registration not sending email notifications. Until next time.
- How to add or update user profile fields using WordPress forms - August 5, 2020
- Boost RegistrationMagic User Profiles With ProfileGrid Integration - February 19, 2019
- WordPress Registration Shortcodes List - August 14, 2018
- Advance WordPress User Login Plugin Guide - August 8, 2018
- WordPress User Registration Status Guide - April 9, 2018
- Create Intelligent Contact Form in WordPress [Breakthrough Ideas] - February 8, 2018
- Setup payments on Registration form using Products [Payments Guide] - December 22, 2017
- Create Your First WordPress Registration Page – Starter Guide - November 14, 2017
- How to Add Custom Fields to WooCommerce Checkout Form - November 3, 2017
- Setup Early Bird Registration for an Event on WordPress Site, with Ease! - April 20, 2017