Title: localhost mail function
Last modified: August 19, 2016

---

# localhost mail function

 *  Resolved [jbert](https://wordpress.org/support/users/jbert/)
 * (@jbert)
 * [17 years ago](https://wordpress.org/support/topic/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)

 *  [rmathus](https://wordpress.org/support/users/rmathus/)
 * (@rmathus)
 * [17 years ago](https://wordpress.org/support/topic/localhost-mail-function/#post-1109929)
 * 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](http://wordpress.org/support/topic/68664?replies=6)]
 *  [WebTechGlobal](https://wordpress.org/support/users/webtechglobal/)
 * (@webtechglobal)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/localhost-mail-function/#post-1110200)
 * 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 ‘localhost mail function’ is closed to new replies.

## Tags

 * [mail](https://wordpress.org/support/topic-tag/mail/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [WebTechGlobal](https://wordpress.org/support/users/webtechglobal/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/localhost-mail-function/#post-1110200)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
