im kinda stuck, i have read some threads where they use google smtp to send mails from localhost. Im using xampp right now and im trying to use google smtp but it doesn't work what have i done wrong ?
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\page.php on line 48
My Code in php.ini:
sendmail_from = T***@gmail.com
Gmail SMTP server address: smtp.gmail.com
Gmail SMTP user name: T***@gmail.com
Gmail SMTP password: ****
Gmail SMTP port: 465
Gmail SMTP TLS/SSL required: yes