WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] your host may have disabled the mail() function (9 posts)

  1. Orbitor
    Member
    Posted 6 years ago #

    I am not sure when exactly this started but I get this error when trying to retrieve passwords:

    your host may have disabled the mail() function

    I have looked around extensively on the boards and:

    1. I have verified that all mail functions are available and active on my host machine.

    2. I have no recent comments and do not use the comment plugin Relish

    3. I am able to log in as admin with no problems

    Have tried these plugins with no good results. I tried with several smtp servers with same negative results:
    Coffee2Code wpPHPMailer
    WP Mail SMTP

    Have read and followed directions on the post on ebastgent.com:
    here

    Does anyone have any further suggestions or ideas for how to further troubleshoot this problem?

    Are there any ways to check for corruption in my database?

  2. thenarv
    Member
    Posted 6 years ago #

    I have the same problem, on two clean installs of 2.3.1. One of these was installed with Fantastico, the other manually.

    Both happen to be hosted at Bluehost, but I have another site on the same domain that is sending mail successfully.

    Any help would be appreciated.

  3. thenarv
    Member
    Posted 6 years ago #

    I should add that the site that is sending mail successfully is not running WordPress.

  4. thenarv
    Member
    Posted 6 years ago #

    Orbitor - I have fixed this on both my installations by creating an e-mail account for wordpress@domain-name. This is a different e-mail account to that setup in Options > General Options.

    Hopefully the same fix will work for you.

  5. Orbitor
    Member
    Posted 6 years ago #

    thenarv - I am not sure I understand. I already have support@mydomain.com setup in General Options. Are you saying I should set up another one?

    BTW, I have tried the Google smtp service with the smtp plugins with the same results!!!

    I am running 2.3.1

    It was working fine at some point earlier but I don't have a recent enough backup to try (I know, I know....).

  6. Orbitor
    Member
    Posted 6 years ago #

    Oh, I should also mention that my contact form and my newsletter plugin are both sending email just fine!!! It's just the core wordpress install that is acting up.

  7. thenarv
    Member
    Posted 6 years ago #

    For some reason, the e-mail generated for retrieving lost passwords is being sent from account wordpress@domain, and not what I have setup as the admin e-mail account in the settings (which happens to me website@domain).

    HTH

  8. Orbitor
    Member
    Posted 6 years ago #

    Holy cow it worked it worked it worked! Thanks thenarv!

  9. Chester
    Member
    Posted 6 years ago #

    Thanks! This worked.

    Just to make it clear for anyone else with the problem:

    Under >Options >General >E-mail Address

    Change the account to "wordpress@yourdomain.com". And make sure you create an actual e-mail/alias account for that address in your domain management tools. I used to have a Gmail address as my account address and I'm guessing maybe that field needs to be filled by something with your domain in it? (And that it doesn't necessarily need to be "webmaster? I'm too lazy to test this.)

    Also, to add a data point, I'm hosted on Bluehost.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags