• poststar

    (@poststar)


    We recently upgraded to version 2.3, and the “Lost your password?” feature on wp-login.php no longer works. We see the following error:

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

    There are other posts on the forum with a similar problem, but none have helped. The mail() function must be enabled, as we still have the old version of WordPress available for comparison. That will send the emails just fine.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • mgmaster

    (@mgmaster)

    My server is using SendMail instead of mail.
    here how I solve it.

    tcheck the pluggable.php file

    you might get this
    // Set to use PHP’s mail()
    $phpmailer->IsMail();
    on line #238

    change it for this if you are using SendMail
    // Set to use PHP’s sendmail()
    $phpmailer->IsSendmail();

    or this if you are using QMail
    // Set to use PHP’s qmail()
    $phpmailer->IsQmail();

    or this if you are using SMTP
    // Set to use PHP’s smtp
    $phpmailer->IsSMTP();

    I got those function from the file class-phpmailer.php.

    it worked for me. hope it will helps !

    MGMaster,

    Thank You!

    I used “// Set to use PHP’s smtp
    $phpmailer->IsSMTP();” for my Media Temple hosted site. Works perfectly.

    —Jeff

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lost password not sent’ is closed to new replies.