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 SMTP=smtp.gmail.com smtp_port=587 firstname.lastname@example.org Sendmail.ini
[sendmail] smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error.log debug_logfile=debug.log email@example.com auth_password=gmail-password firstname.lastname@example.org
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.