emails not sent (4 posts)

  1. jkuruppu
    Posted 9 years ago #

    I just realized that my blog is not sending out new registration emails, and also doesn't send the password reminder email. with registration - it looks like it goes through just fine - i get the message saying "registration complete"

    with password reminder, i instead get this error:
    "The e-mail could not be sent.
    Possible reason: your host may have disabled the mail() function..."

    i went into the pluggable-functions.php file, and replaced the line:

    "From: wordpress@" . preg_replace('#^www\.#', '', strtolower($_SERVER['SERVER_NAME'])) . "\n" .

    with my email address, but still no luck.

    any suggestions? i seem to remember fixing this once before, but can't remember what i had to do....

  2. drmike
    Posted 9 years ago #

    Isn't it in wp-includes/functions.php as well? I know with WPMu, it's in a number of files.

  3. StonePilot
    Posted 8 years ago #

    No responses on this? It's got something to do with PHP not having access to SMTP, but I'm not sure what it is.

  4. MGMaster
    Posted 8 years ago #

    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()
    on line #238

    change it for this if you are using SendMail
    // Set to use PHP's sendmail()

    or this if you are using QMail
    // Set to use PHP's qmail()

    or this if you are using SMTP
    // Set to use PHP's smtp

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

    it worked for me. hope it will helps !

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.