• Ive searched and found nothing, hence a new topic. I have only seen help info for this problem in regards to hosting on Yahoo’s server. Thus, I would like to know how to resolve this issue of not being able to send e-mails containing the password for users that have just registered and how I can fix the error ‘ The e-mail could not be sent .. Possible reason: your host may have disabled the mail() function… ‘ How do I enable the ‘mail’ function?

Viewing 3 replies - 1 through 3 (of 3 total)
  • the same thing happened on my own localhost-installation using xampp, what leads me directly to
    1. writing up the password – once you’ve finished the installation process – could avoid this problem, too. (no reset-password-mail, no reset-password-link, no new password ?? )
    2. this should really be a hosting-side issue. so in the first place you should ask the provider to provide php’s sendmail (mail()) functionality. furthermore i doubt that you have a possibility to change the mail-settings on your own.
    3. If you can, or if its a localhost-installation, take a look into this tutorial:

    https://faq.kwm-web.info/doku.php?id=php (german)

    In the last paragraph, named “Mail”, you’ll find how to fix the mail problem under windows. (expecially for xampp users)

    In fact, it describes how to change the servers default. (hence needs a restart of the server)

    I had the identical issue on Yahoo. I too searched the forums and got nowhere until today.

    FIRST: you have to activate the php-mail in Yahoo’s control panel. You do that from the webhosting control panel>create & update>php/perl mail. It’s VERY simple, but MUST be done.

    That in and of itself doesn’t complete it. If you try after that, you’ll more than likely get an error in Yahoo that tells you something like “email not from users domain. mail not sent.”

    SECOND: I ran across this plug-in, and after installing it (about two minutes to do) the issue was solved/fixed.

    Here is the link to the plugin:

    https://www.jameskelly.org/wordpress-plugins/custom-login-and-registration-forms-plugin/

    For me I was using SendMail on my server but wordpress is set to use mail instead of sendmail. here how I’ve changed 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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Registration/Lost Password E-mail’ is closed to new replies.