Title: Host disabled the mail () function
Last modified: September 1, 2016

---

# Host disabled the mail () function

 *  [amiyoon](https://wordpress.org/support/users/amiyoon/)
 * (@amiyoon)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/)
 * My website is:
    [amiyoon.com](http://amiyoon.com) I’m using Bluehost to host,
   and used namecheap to get my domain. The website was working fine, until I tried
   to log in.. I forgot my password so when I tried to reset my password, I entered
   my email and got thisL
 * The email could not be sent.
    Possible reason: your host may have disabled the
   mail() function.
 * I’ve googled this issue, and honestly, don’t really understand what needs to 
   be done to fix this. People are typing codes in their answers to this issue, 
   and I don’t think I’m knowledgeable enough to fix this via coding.
 * Can someone please help me get access to my website?
 * Thank you!!

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7640965)
 * [@amiyoon](https://wordpress.org/support/users/amiyoon/)
 * There are a couple of other ways to reset your user account password.
 * One is when you have logged ino cPanel, then you can use phpMyAdmin.
    [https://my.bluehost.com/cgi/help/87](https://my.bluehost.com/cgi/help/87)
 * [https://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin](https://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin)
 * [http://www.wpbeginner.com/beginners-guide/how-to-reset-a-wordpress-password-from-phpmyadmin/](http://www.wpbeginner.com/beginners-guide/how-to-reset-a-wordpress-password-from-phpmyadmin/)
 * This method is using FTP
    [https://codex.wordpress.org/Resetting_Your_Password#Through_FTP](https://codex.wordpress.org/Resetting_Your_Password#Through_FTP)
 * This method uses the emergency password script
    [https://codex.wordpress.org/Resetting_Your_Password#Using_the_Emergency_Password_Reset_Script](https://codex.wordpress.org/Resetting_Your_Password#Using_the_Emergency_Password_Reset_Script)
 * Using any of those methods will help you be able to easily reset your user account
   password for your site.
 * Hope these help.
 *  Thread Starter [amiyoon](https://wordpress.org/support/users/amiyoon/)
 * (@amiyoon)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7641023)
 * Thanks [@luke](https://wordpress.org/support/users/luke/), will give those a 
   try..
 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7641048)
 * [@amiyoon](https://wordpress.org/support/users/amiyoon/)
 * Let me know if you still have the issue.
 *  Thread Starter [amiyoon](https://wordpress.org/support/users/amiyoon/)
 * (@amiyoon)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7641108)
 * Hi [@luke](https://wordpress.org/support/users/luke/),
 * The first phpAdmin worked!
    AMAZING, thank you! Weirdly I saw 2 wordpress ‘databases’
   in my phpadmin… Is that normal?
 *  [iffikhan30](https://wordpress.org/support/users/iffikhan30/)
 * (@iffikhan30)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7641109)
 * Hello Amiyoon,
 * Open your wp-config.php locate on root folder. There is mention which database
   you use
 * define(‘DB_NAME’, ‘MYDATABASE’);
 * Thankx
 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7641117)
 * [@amiyoon](https://wordpress.org/support/users/amiyoon/)
 * Glad that method worked for you.
 *  [peterwsterling](https://wordpress.org/support/users/peterwsterling/)
 * (@peterwsterling)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7721861)
 * Hi [@lukecavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * So, as a blueHost employee and an expert WP guy I hope you can help…
    This error(
   I think it’s some kind of error anyhow) seems to be proliferating. I have several
   clients hosted on BlueHost and recently (last few days, maybe week or so) all
   of them have encountered this issue where the send me a password reset link from
   the WP login page fails.
 * > The email could not be sent.
   >  Possible reason: your host may have disabled 
   > the mail() function.
 * I have tested `mail()` and `wp_mail()` and they seem to be working fine.
 * Is there any chance that there has been a recent change to BH’s setup such that
   certain emails are being blocked?
 * Cheers,
    Pete
 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-7723098)
 * [@peterwsterling](https://wordpress.org/support/users/peterwsterling/)
 * So the issue is in the recent release of WordPress 4.6.
 * It will be corrected in 4.6.1 and that the temp solution is to set a valid email
   in settings->writing
 * [https://core.trac.wordpress.org/ticket/37736](https://core.trac.wordpress.org/ticket/37736)
   
   [https://core.trac.wordpress.org/changeset/38286](https://core.trac.wordpress.org/changeset/38286)
 * WordPress 4.6.1 will be released on the 7th September.
 *  [Im_a_MARVEL](https://wordpress.org/support/users/im_a_marvel/)
 * (@im_a_marvel)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-8222103)
 * Hmmmm. I’ve not checked with any of my BH accounts, but I noticed the issue still
   persists with one of my WP websites elsewhere. And it’s up-to-date. I wonder 
   if there’s something else I should be doing to help
 *  [cshort1964](https://wordpress.org/support/users/cshort1964/)
 * (@cshort1964)
 * [9 years ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-8911837)
 * I just wanted to share that I just tried the Reset Password with the FTP option
   and after editing the functions.php file and resetting the password, all worked
   very well. Do remember however, to remove the edit from functions.php ** before**
   you try logging in again otherwise you will be in a password reset loop.
 * Cheers
    Christopher
 *  [hdpg](https://wordpress.org/support/users/hdpg/)
 * (@hdpg)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-9040113)
 * I have this problem now and the issue is that yes I can reset my pass but this
   means my users can’t reset their pass. How can I fix this issue before September
   release? The links were not helpful for me. Maybe a very experienced tech can
   understand those but is there a more basic step by step procedure for fixing 
   the problem so that the lost password feature works?
 *  [ps65400](https://wordpress.org/support/users/ps65400/)
 * (@ps65400)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-9264163)
 * I am having the same problem. I have no idea what to do next. I am also hosting
   on bluehost.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Host disabled the mail () function’ is closed to new replies.

## Tags

 * [login error](https://wordpress.org/support/topic-tag/login-error/)
 * [mail function](https://wordpress.org/support/topic-tag/mail-function/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 8 participants
 * Last reply from: [ps65400](https://wordpress.org/support/users/ps65400/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/host-disabled-the-mail-function/#post-9264163)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
