• I switched servers (servers that i host) and now WP will not send emails (registration, emails when the blog is updated and the wp-email plugin from GamerZ). These use to work before i moved to a different server. When i try to recover a lost password, i get this error:
    The e-mail could not be sent.
    Possible reason: your host may have disabled the mail() function…
    On the WP server, in the php.ini file, i have enabled sendmail and entered in the path to sendmail. So, this is not using any email host except the sendmail on the server that WP is installed on. Can someone explain, or point me to, how WP sends email?

Viewing 7 replies - 1 through 7 (of 7 total)
  • It uses php mail. Do you have that set up in the php?

    Thread Starter carnold

    (@carnold)

    Humm, i honestly don’t remember setting this up. I have looked through my php.ini file and do not see where to set this up. Using php5, if that helps

    I thought it was set up by default but I haven’t installed php in so long I thought it might not be.

    I’m sure you already know this, but put
    <?php phpinfo(); ?>
    in a blank php file and upload it and call it in your browser.
    Should tell you.

    edit – I’m told with sendmail enabled it should work. ???

    Thread Starter carnold

    (@carnold)

    I searched through the phpinfo output and no where do i see any reference to php mail. All is reffering to sendmail. Sendmail has the path and appears to be configured.

    THANK GOD I finally got this damn thing to work. ?? I’m not a php guy what so ever and tried the “<?php phpinfo(); ?>” Samboll suggested and notice that the sendfrom is not showing up… so I just RESTARTED IIS and it worked. ??

    Oh, for future references… i’m using IIS 6, hmailserver, php 5, mysql 5… and of course the wonderful wordpress on a dedicated machine

    mgmaster

    (@mgmaster)

    My server is using SendMail instead of mail.

    you can set it to smpt if you want

    but 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 !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP not sending email’ is closed to new replies.