Support » Fixing WordPress » The e-mail could not be sent. your host may have disabled the mail() function..

  • While lost recovery password it sends email but it shows the following error:

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

    I read lot of same problems in this forum but i am not able to solve it.
    I want to host this blog on my laptop. I use wamp2.0i server. OS- Windows Vista.

    i even try to run simple mail program in php, its not sending mail.

    <?php
    $to = “jwalant.baria@gmail.com”;
    $subject = “Hi!”;
    $body = “Hi,How are you?”;
    if (mail($to, $subject, $body)) {
    echo(“<p>Message successfully sent!</p>”);
    } else {
    echo(“<p>Message delivery failed…</p>”);
    }
    ?>

    so it is wrong with php.ini?
    Plz help needed to solve this. I am newbie to php.
    I use WordPress version 3.0.3.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The e-mail could not be sent. your host may have disabled the mail() function..’ is closed to new replies.