How to fix WordPress “your host may have disabled the mail() function…” error

This is the error:

The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function…

When you trying to access your blog or your administration dashboard, you get nothing but white screen and above message. You probably contacted your hosting company but most of the time they can’t figure out what is wrong with your WordPress blog.

It’s not that hard to fix, if you diagnose it properly. Let me assure you that you don’t have to reinstall your WordPress blog.

There are 3 possible conflicts that could have caused this error.

  1. Trackback or comment conflict.
  2. User password conflict.
  3. e-mail php/SMTP conflict.

Let’s fix this mysterious error.

  • Trackback or comment conflict:

You probably received a trackback comment and it jammed your database. If your blog crashed after you moderate a trackback comment or a spam comment, your error will fit into this conflict category. To fix this problem you need to login to your phpMyAdmin in your MySQL database. Here’s the step by step instruction: How to delete comments using phpMyAdmin.

How to prevent trackback comment conflict?

If you have installed a plugin called “Comment Relish” by Justin Shattuck, it could be one of the source of this problem. Deactivate the comment relish plugin until author address this problem. (/wp-content/plugins/comment-relish.php) Don’t forget to install Akismet Plugin to catch all spam comments. Akismet Plugin is included in the latest WordPress, all you have to do is activate it.

  • User Password Conflict:

Your password or “wp_users” may be corrupted. To fix this problem you need to login to your phpMyAdmin in your MySQL database. Here’s the step by step instruction: How to change password using phpMyAdmin.

How to prevent user password conflict?

Create an extra admin user for yourself, just in case the first one goes bad. Alway back-up your WordPress core files. You can use WordPress database backup plugin.

  • e-mail php/SMTP Conflict:

If your hosting server that has the php mail function disabled, you might end up with this error also. Go to WordPress plugin directory and find a suitable SMTP mail plugin. It’s very rare conflict. It’s commonly associated with bloggers who host WordPress on their own server at home.

If you tried all 3 and still get error, please post your problem on WordPress Forum. You’ll get plenty of help from contributors.

Technorati Tags: , , , ,

79 Responses to “WordPress “your host may have disabled the mail() function…” error”
  1. [...] Original post by eBestAgent [...]

  2. I can’t thank you enough for posting this! I am using Comment Relish on my blog, had no idea this was a problem, posted a trackback and my entire blog crashed.

    My host had no idea what the problem was as there were no server changes on their end.

    I googled the error message and your article came up in the search results. I followed your instructions on deleting the comment trackback and it worked beautifully! My blog is now back up and running.

    Thank you!

    Patty Gale

  3. You’re welcome~

    I’m so glad to see your blog running smoothly.

    I honestly don’t know why Comment Relish cause this major problem. I’m learning PHP in my spare time, maybe I can come up with a solution or write a better plugin.

    Happy blogging~!!!

  4. Wow, thank you so much for pointing me in the right direction. I installed the plugin a couple days back, and it only took down my blog today; I was freaking out, thinking it had been a change I’d made in my database and I had corrupted the entire site.

    Of course, it was due to the Comment Relish plugin. An alternative you could mention in this article (as your result shows up very high in Google) is to rename the offending file (/wp-content/plugins/comment-relish.php). This immediately fixes the problem without having to tinker with the database, so you can restore your site ASAP.

    And I was about to give my hosting company hell for messing up my files…thank god I didn’t do that :-). By the way, looks like you’re on 1&1 also…how do you like it? I signed up for their 3 years free deal way back when and renewed for a year, but lately my site has been really laggy. I’m considering moving to another company when my contract runs out, but I’m curious to see how your own experience has been on 1&1 (especially since right now, I’m on the cheapest plan).

    Thanks for the help in a dire emergency ;-),
    -Ravi

  5. You’re welcome~
    My article helped someone again, cool. :lol:
    My experience with 1&1 is excellent so far. Like you mentioned, many people complained that 1&1 is laggy. You could fix the laggy issues by diagnosing your site with Firefox Firebug add-on. Technical support has been excellent. I’m experimenting with Drupal and have no problem with PHP 5 like other web hosting companies mentioned in Drupal.org.
    Good luck~

  6. Thank you so much for posting this! I had the same problem (trackback/self-linking in post issue) and your instructions resolved the problem!

    Cheers! :smile:

  7. You’re welcome~
    Happy blooging on LOST~!!!

  8. I had the same problem with one of my group blogs. And someone from Sitepoint forums gave the link here and voila.

    Maraming salamat. :)

  9. Walang anuman~ (Is this “you’re welcome” in Filipino :?: )

    I know “Maraming Salamat” is “thank you” in Filipino but don’t know how to say “you’re welcome.” Hopefully, I said it correctly. I don’t want to offend anyone.

    Happy Blogging~ :grin:

  10. ^ You got it right!! :)

  11. Thanks so much for posting this! I was scared I was going to have to completely reinstall WP.

    Last night I got a trackback and my blog crashed. Turns out it was the Comment Relish plugin.

  12. eBestAgent says:

    You’re welcome, Christina~

    You’ve designed a beautiful blog. I like your black & white infrared photos, too.

  13. Hi,

    Thank you very much for this article. I got the error message and found you right away on google.
    Is there a fix for the plugin “comment relish”? It seems like it’s trying to send emails when it’s a trackback abd there is no email set-up…

  14. You’re welcome~

    There is no known fix for the “Comment Relish” yet. Some bloggers renamed the comment relish and successfully using it. I’ve tried but it’s just matter of time before it clog the data base. I’ll let you know if there’s a fix or other equivalent plugin available.

    Happy Blogging~!!! :razz:

  15. Thank you sir, you have made my day! :mrgreen:

    I got hit by the Comment relish bug and nearly wet myself. Though a quick google search turned up your blog post and everything was vack to normal in a few minutes. Cheers!

  16. You’re welcome, Mr. Fulton~

    You’ve got a very nice blog. I’ll visit again to read more posts.

    Happy Blogging~!!! :grin:

  17. :mrgreen: Thank you, thank you, thank you.

    I was getting jacked around by my hosting company…. HOST GATOR.

    So far, I am not impressed by their tech support….

    Seems like they like to pass the buck around a lot ..

    I wouldn’t recommend them.

    Anyway…. your comments about this email error totally fixed my blog…site…thanks a million ..you’re AWESOME!

  18. Thanks again … I am so happy that you figured this error out… Sweet Duuuuude!
    Jason :grin:

  19. Thank you! had the same issue on one of my wife’s blogs. it was a Trackback/Comment conflict - now trying to figure out how to make sure it doesn’t happen again

  20. The same happened with me today, and i too googled the thing, and yea this article helped out :)

    Thanks!

  21. Oh man, this saved my life. Thanks a ton for clearing this up. I’m bookmarking this one just in case it happens again. I’m not sure what part of SoCal you’re in, but if you’re ever in Long Beach, I’ll buy you a drink.

  22. Your a life saver! Thank you so much!

  23. oh man you are the awesome lifesaver!! i googled the error message and it brought me to your site. the directions you gave were perfect and immediately addressed the problem. thank you so much i was about to go into shock at the though of losing my blog. Thank you, thank you, thank you!!!!

  24. Adam DesAutels says:

    e-mail php/SMTP Conflict - How am I going to add a plugin and activate it if I am locked out? Is there a different way?

  25. I also encountered this problem, and I find this solution somewhere and it works fine. I’m using wordpress in my localhost and SMTP as my email server. But this will work if you install this plugin before you forgot your password. hehe

    http://www.ziddu.com/download/1840193/smtpmail.zip.html

  26. Как часто публикуете новости по данной тематике?.

  27. good job!

  28. Leveraging the Leverage Crisis- It

  29. Ваш пост навел меня на думки *ушел много думать* …

  30. Great blog. Do you know of any relevant marketing forums or discussion groups?

  31. A fantastic read….very literate and informative. Many thanks….where is your RSS button ?

  32. The Writing Experience E-Book

  33. Постебался, спасибо за ссылку ;)

  34. Отличная статья.Респект автору.

  35. Ну как же только так? Ищу, как можно уточнить данную тему.

  36. Уррра! Новые открытия в массы. Чередаих да не прекратится во веки веков.

  37. Круче гор могут быть только горы - зачем выпендриваться?

  38. Отличный пост. Хочу тоже поделиться прикольной ссылкой - скачать NFS Undercover

  39. Ув, автор! Можете открыть статистику? Просто интересно))

    здесь видел ет gamebulletin.ru

  40. Хорошо пишете. Учились где-то или просто с опытом пришло?

  41. Все отлично, но вот у любого блога постоянная проблема с трансляцией rss! Хотелось бы и с коментами получать. Но нет. Это вообще решаемо? :)

  42. Добавил в свои закладки. Теперь буду вас намного почаще читать!

  43. Хорошо пишете. Учились где-то или просто с опытом пришло?

  44. Ага, теперь ясно… А то я не сразу поняла где тут связь с названием…

  45. И неужели это все так работает???

  46. Отличный пост получился у вас

  47. Где хорошо, там и… тоска по родине.

  48. Бошка раскалывается. Надо что-либо делать в своем безуспешном бизнесе. Кстати - перерегистрация ООО - весьма горячая тема в настоящий момент. Не прошлепать бы. Проблему необходимо решить до конца года. Мрачно…

  49. Правда - изобретение маньяков: колет глаза и режет уши.

  50. Форум известных людей к вашим услугам.

  51. Ну что могу сказать… Автовыкуп срочно

  52. Всё чаще естественный отбор проводится искусственным путём. готовый диплом

  53. Давольно познавательно. Хочу тоже поделиться полезной ссылкой - фильмы онлайн бесплатно

  54. Все ещё ищите где продать? Тогда специально для вас наше предложение - интернет аукцион автомобилей

  55. А какие вы предпочитаете цветы?

  56. Будьте осторожны употребляя антибиотики

  57. И с какой позиции вы это заявляете?

  58. А у вас нет материала насчет похудания?

  59. А я не успеваю уследить за всеми тенденциями. Ща все время строительство забирает

  60. Сверхкоррупция: откат с взятки.

  61. Баба с возу - потехе час..

  62. oriclub

  63. Отличный пост. Дамаю для ваших читателей была бы еще позновательна статья на тему “номинальные директора

  64. не смотря на то что это СКАЧАТЬ КОМПАС

  65. Отличный пост. Узнал для себя прилично нового и интересного. Кстати, вот тоже хочу поделиться интересной ссылочкой - строительство калуга. Пусть это будет мой вклад в развитие вашего блога; )

  66. I usually dont post in Blogs but your blog forced me to, amazing work.. beautiful

  67. Отличная новость. Я вот тоже хочу поделиться полезной ссылкой. Здесь можно скачать windows. Так что заходите - не пожалеете.

  68. Nice post. If you have free time, pleas came to my blog. Thith is it - How to play spades.

  69. Складно пишете. Но не пойму почему эта инфа вызвала воспоминания о детстве, и не отходя от темы - Купить детские игрушки. И не забрасывайте блог; )

  70. Отлично! А я вот тоже блог решил себе сделать - самолет. Будет время заходи.

  71. Спасибо за новость и этот прекрасный сайт! респект и уважуха!

  72. доска бесплатных объявлений says:

    Отличный пост. А вы пробывали разместить объявление о своем сайте?

  73. Отличный пост. Попробуйте разместить объявление о своем сайте?

  74. Действительно интересный сайт, добавил в избранное, буду заходить почаще

  75. Do you want know your your ip address - for free?

  76. Cool servise - Ping domain or IP - tools

  77. Интересный пост. Как у со стажем блогера хотел бы спросить вашего мнения по поводу - негабаритные перевозки

  78. Заходите и вы к нам в блог - c tiberium wars no cd. Будем рады вас у нас видеть!

  79. Cool that’s interesting, thanks for this opinion. Could I replicate this post on my site?

Leave a Reply