Well, I would normally send LOCALHOST emails using sendmail
mail($to, $assuntoHTML, $mensagemHTML, $headers)
[sendmail]
smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
smtp_ssl=auto
[email protected]
auth_password=minhasenha
smtp_ssl=tls
tls_certcheck off
It turns out that in the work network, they put a proxy.
I went there and opened the smtp port 587, but even then I can not send more email
Can someone help me, perhaps, enter the proxy information to see if it works?
Type use proxy 192.1.1.1 port 1234
Thank you very much.
php.ini
[mail function]
SMTP = smtp.gmail.com
smtp_port = 587
sendmail_from = [email protected]
sendmail_path = "C:\"\xampp\sendmail\sendmail.exe\" -t"
mail.add_x_header = Off