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