XAMPP send mail

Hi! I want to send an email from my localhost. Can you say if this php.ini and sendmail.ini is correct? And what have I to change to send mail ? Gmail IMAP is enabled.
php.ini

SMTP=smtp.gmail.com
smtp_port=465
sendmail_path = ““C:\xampp\sendmail\sendmail.exe” -t”
sendmail_from = xx @gmail.com

sendmail.ini

smtp_server=smtp.gmail.com
smtp_port=465
error_logfile=error.log
debug_logfile=debug.log
auth_username=xx @gmail.com
auth_password=xxx
pop3_server=
pop3_username=
pop3_password=
force_recipient=
hostname=

what happens if you try it?

If I execute a simple code to send mail and write “the mail was send” if it send the mail ,the code display this message , but I don’t receive mail. I thought that is something wrong in XAMPP.

Sponsor our Newsletter | Privacy Policy | Terms of Service