I have Xampp on Windows Server 2012. I can`t send mail from php on address. I use corporate address and gmail account and there is no send mail.
I google it and find this tip:
in php.ini file find [mail function] and change
sendmail_from = firstname.lastname@example.org
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
Now Open C:\xampp\sendmail\sendmail.ini. Replace all the existing code in sendmail.ini with following code
Now you have done!! create php file with mail function and send mail from localhost.
I change everything and nothing. Simple no mail.
php.ini and sendmail.ini file you can find on test.cmd.in.rs
I just erase my mail and password.
Can you help me. Is there some new setting that I need to change.