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



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.


  • 1
    This isn't a wordpress specific problem - see what's on topic at help center. For this reason the question probably should be migrated to Server Fault. Apart from that, I usually setup the mail() functionality with postfix under ubuntu, take a look here, here and here. – Nicolai Nov 21 '13 at 14:38
  • @toscho made me realize, by letting me read the server fault on-topic page, that Server Fault isn't the right place. Additionally he linked me to Do questions on WAMP belong on Stack Overflow, Server Fault or Super User?, which leads to the conclusion there's no definitive answer where to ask your kind of question, it depends on the problem, read the meta discussion for a insight. – Nicolai Nov 21 '13 at 15:09
  • Thank you for your comment. I was able to resolve the issue. I was directed here from SO. Inside of my php.ini file I commented out the wrong line. I was enabling mail through send disk and not sendmail. – EHerman Nov 21 '13 at 15:23
  • Good for you! It happens that Stack Overflow redirects questions/people here, because the word »wordpress« appears in their problem, but this is definitely not in scope of WordPress Development. – Nicolai Nov 21 '13 at 15:26
  • That's what I figured. Sorry to place the question over here. I can mark the question as answered by 10pm tonight (due to my new account). Thanks again for your response. Have a great day ialocin! – EHerman Nov 21 '13 at 15:37

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.