Setting up XAMPP and Sendmail to enable WordPress emails on localhost

by EHerman   Last Updated August 10, 2018 12:08 PM - source

I am trying to enable email sending from my localhost installation of WordPress. I need to do so to test out some notification functionality as well as alerts and password resets.

I know that you must configure your php.ini and sendmail.ini, and that it is apparently quite easy, but I can't for the life of me get it to work. My php.ini file contains:


[mail function]
; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
 [email protected]


[email protected]
[email protected]

I'm wondering if I have set up something incorrectly as I'm not currently receiving any emails when I do a password reset.

I also have mercury installed and running. Is there something wrong in one of my files, or have I missed a step? Everything I'm reading says this should be simple, but I haven't been able to resolve the issue.


Tags : localhost xampp

Answers 1

I was able to resolve the issue. Inside of my php.ini file I commented out the wrong line. I was enabling mail through send disk and not sendmail.

December 20, 2013 13:56 PM

Related Questions

WP Asking for FTP Credentials with XAMPP Localhost

Updated November 10, 2018 05:08 AM