Hello,
Running the following code returns FALSE.
$server = "smtp.gmail.com";
fsockopen('tcp://' . $server, 587);
I know those are correct server address and port because I have ssmtp installed on my computer it uses those values to connect. But when use those values to connect from a real web server it fails. Why is that?
Thanks in advance.
PS. I don't if ssmtp uses tcp connect. Could that be an issue?