I'am trying to send mail from localhost with xampp so I configured my xampp php.ini and sendmail.ini file to use my Gmail account for sending email from my PHP script with the help of this two links: link1 and link2 .
But, when I want to send my Contact Form, I have the message of validation Your message has been sent but in my mailBox, I don't found no thing.
[mail function]
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = ******@gmail.com
sendmail_path = \C:\xampp\sendmail\sendmail.exe\ -t
mail.add_x_header=On
[sendmail]
smtp_server=smtp.gmail.com
smtp_port=587
smtp_ssl=auto
error_logfile=error.log
auth_username=******@gmail.com
auth_password=**********
force_sender=******@gmail.com
What have I missed? Why can't I receive my mail?