Some problems with sending mail with Wordpress
We wondered since a couple of days, why we are not receiving any emails anymore from our blog here. Usually we receive a couple of comments a days and thus it was strange that nothing came in.
Looking at the php.ini I saw that everything was setup correctly, but still mails did not get sent. Looking further we tried to configure sendmail and set the “smart_host” value. This is done by entering the correct SMTP-Server in the sendmail.mc file and using “make -C /etc/mail” to compile it (Note: remove the “dln” BEFORE the line. “dln” is a comment tag!).
In any case, after restarting sendmail, it still did not work.
So, after some time, I have found this wonderful plugin called “WP Mail SMTP”. With it, we can configure NOT to use sendmail, but instead use SMTP for sending mails. Furthermore, one can configure a different “from” address and much more.
Thank you for the plugin. All works now fine again (well, sendmail still does not work to send email).
If you enjoyed this post, make sure you subscribe to my RSS feed!About this entry
You’re currently reading “Some problems with sending mail with Wordpress,” an entry on Razuna Blog
- Published:
- Wednesday, March 5th, 2008 at 8:58 pm
- Author:
- Razuna
- Category:
- SixSigns
- Tags:
- Applications, Linux, sending mail, smart host, Wordpress

6:05 UTC
I tried this and didn’t work, so I had to call my hosting provider and understand why. Explained here, with a solution: http://www.roblayton.net/archive/wordpress-not-sending-emails-anymore-solved/
19:28 UTC
Try this solution if it still doesn’t work for anyone else. http://www.roblayton.net/archive/wordpress-not-sending-emails-anymore-solved/
Good luck!