WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] localhost mail function

[Resolved] localhost mail function

  • several times I have misplaced my localhost password. When i click on ‘lost password’ it says something about mail function not being set up.

    Can someone lead me in right direction please

    Thanks

    JIM

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    First, make sure sendmail is active on your server. You can do this by creating a phpinfo.php page with the following contents:

    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    // Show just the module information.
    // phpinfo(8) yields identical results.
    phpinfo(INFO_MODULES);
    
    ?>

    After you have done that, browse to the page in a browser. Search for ‘sendmail’ and you should see something like

    sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

    If not, you’ll want to contact your host and get them to set up sendmail for your server. Otherwise, the lost password email won’t send out.

    [signature moderated Please read the Forum Rules]

    I recommend using LastPass for Firefox for password management.

    I use the same password for everything that does not require maximum security such as forums, blogs, localhost etc. I recommend to everyone to make life easier on yourself this way.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] localhost mail function’ is closed to new replies.
Skip to toolbar