Support » Fixing WordPress » wp_mail(0 doesn’t work but mail() works … what’s up?

  • This is a follow up on a previous post which has not yet been resolved. A similar problem has been posted some time ago (http://wordpress.org/support/topic/261572?replies=1) without a solution either.

    Problem is that on my local (windows) machine a call to wp_mail() in the password retrieval routine results in an error. If I change this call to a call to the ‘regular’ mail() function, the email is sent without a problem.

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

    wp_mail is called from line 171 in wp-login.php by the way.

    Tnx for any input.
    John

  • The topic ‘wp_mail(0 doesn’t work but mail() works … what’s up?’ is closed to new replies.