How To Fix WordPress Blog Not Sending Emails
This tutorial assumes that you’re currently running a self-hosted wordpress installation on a server running CPanel 11 with the PHP mail() function disabled. Some web hosting companies do this to impede email spammers but it tends to also affect legitimate users. Without this function, plug-ins such as Subscribe To Comments and Contact Form 7 will not work BUT there’s a quick fix to this.
Disclaimer: This tutorial is provided as it is. I shall not be held responsible should anything go wrong along the way. The following information worked perfectly well for me and will hopefully work for you too. Having CPanel makes it a lot easier
STEP I
How To Create An Email Address Via CPanel
Create a a new email address via CPanel or your web host’s admin area.

Fill in the necessary data in the fields below
- The first half of your email address example: beachblondes
- The domain for your email. Leave as it is if you don’t have several domains hosted on your account.
- Choose a good password with letters and numbers
- Repeat your password
- Set the amount of disk space you want to allocate to your new email address.
- Click Create.

Take note of your email address and password as it will come in handy for the configuration of the wordpress plug-in that will get your wordpress installation to start sending emails.
After creating your email address, look at the configuration settings and take note of Outgoing Mail Server (SMTP Host) name and port.


STEP II
How To Configure WP-Mail SMTP
Download, Install and Activate WP-Mail SMTP plug-in.
In your wordpress dashboard under Settings, click on Email. Let’s assume that the email we created above was “beachblondes@blondes.com”
Fill in the setup page as shown below.

Once you are done setting things up, click update options and wait for the page to reload. When it’s done reloading, scroll down to the and of the page and test your configuration.

After clicking the “Send Test” button, the page will reload again and display information similar to the image below.

If the email was successfully sent, Bool True will show as above if the opposite is the case Bool False will be shown. Also if the email was successfully sent, it should be in your inbox.
In the case whereby you get a Bool False message, checking the message above will be able to tell you where the problem is. In most cases, changing Authentication and Encryption settings could help or you might have filled in your username and password wrongly or the SMTP Host and Port are wrongly configured.
Either way, the log file above will tell you what’s wrong.
All that’s left is for you to make sure that your Subscribe To Comment plug-in is now sending out notifications. Simply sign out of your wordpress dashboard and leave a test comment on your blog using a fictitious name. Don’t forget to tick the “Notify me of follow-up comments via e-mail” button.
If you’ve got comment moderation activated, log-in back to your wordpress dashboard and approve the comment. Log-out once more and leave another comment on that same post using another fictitious name. Approve that comment then check your email address to find the comment notification email . ![]()
In my next post, I’ll be writing about how to get Contact Form 7 to work with PHP mail() function disabled.
Feel free to leave a quick feedback as to if this worked for you or not.
Cheers
!
Credits: A huge thanks goes out to Mario J Vargas of Anstrey.com. His tutorial “How to Send Email with WordPress from GoDaddy (Windows Hosting)” helped me fix this problem on my own server and thus inspired me to write what I hope is a detailed description of how I went about it on my own server
.
Related Articles You May Like To Read
- WordPress Security Fix: Protect Blog From Theft!
- Fix Contact Form “Failed to send your message” error
- Top 16 Essential Plug-ins For Every WordPress Blog
- Remove Dates and Time WordPress Blog Posts and Comments
- Top 7 Tweaks For A Faster WordPress Blog
im so frustrated i want to get this post savd into my ipod touch that way my step fater can see it, but i cannot find a way.. will any 1 explain to me how please??
I don’t have an iPad so I can’t really help you out. Hopefully someone else will drop by and help you
Thanks, man I got bool true but I tried to use the contact me page to send a message I got error
with this added to the end of the address bar “/”
Please what can I do?
Your contact form is not even showing @ all. Remember that you have to add the code for your contact form in HTML mode when creating the contact page. If you add the code while in visual mode, it wouldn’t work @ all.
/
The php syntax was changed, that is why I am posting this comment again, how do I configure the contact me form?
I have spaced the syntax hoping that it would show as I want it!
The contact form is showing now but still not able to send a message, I have also read the post on contact form 7 too, please how can I fix this, thanks!
Unfortunately I’ve uninstalled Contact Form 7 from my server and I’m now using WP Spam Free. I’ll see if I can reproduce this on another blog but I ain’t promising anything.
P.S: I might need access to your blog again to help fix this.
no problem, I set up an account for you.
You have uninstall contact form 7, so what are you using on the contact page?
I’m using WP Spam Free which is as simplistic as ever.
[...] 现在的很多服务器,有的没有启用PHP mail()功能,有的启用了却又因为别的原因没法用,严重限制了WordPress网站的便用性。本文参考“How To Fix WordPress Blog Not Sending Emails”给出使用Google邮件服务器通过smtp发送WordPress邮件的设置方法。 [...]