Emails generated by my wordpress Website are not being received

Avatar
  • Answered
Recently I stopped receiving emails from the Contact Us Form on our Contact Us page: http://metro-board.com/contact-us/. I'm also not getting any of the woocommerce autogenerated emails that normally happen when an order is made. I have checked the SPAM box, and they are not getting caught there. Nor or my customers getting their Order Confirmation Emails. Seems to be a general problem with site generated emails, not specific to a given plugin. It was working just fine till a few days ago. Haven't made any changes or updates to anything, so it's a bit confusing. Inmotion support claims the "server" is working normally, but clearly something is not working right.

Please advise...

thanks,
ILAN
Avatar
JacobIMH
Hello Ilan, It does appear that email delivery on the server itself is working fine. I took a bit closer look at your WordPress site, and it appears to be your php.ini file that was causing the issues. From what I could tell, it looks like your php.ini file had the sendmail_path variable commented out. I went ahead and saved this file for you as php.ini-BAK in your main /public_html directory. I then simply copied over the server's default php.ini file into your /public_html directory so that it will take over, as it does have the correct sendmail_path = "/usr/sbin/sendmail -t -i" setting in it. It looks like your php.ini file hadn't been modified since May 1st 2014, but your .htaccess file was recently updated. I'm wondering if you possibly recently setup a recursive php.ini file with .htaccess over the last few days? Please let us know if you have any further questions at all! - Jacob