I can't get Gmail SMTP to connect and I'm getting this debug info on tls:
2017-12-05 16:40:25 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP q9sm1085224pfl.116 - gsmtp
2017-12-05 16:40:25 CLIENT -> SERVER: EHLO localhost
2017-12-05 16:40:25 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2405:204:d304:d69d:3c36:3d9:213e:186a]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2017-12-05 16:40:25 CLIENT -> SERVER: STARTTLS
2017-12-05 16:40:25 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
SMTP Error: Could not connect to SMTP host.
2017-12-05 16:40:26 CLIENT -> SERVER: QUIT
2017-12-05 16:40:26
2017-12-05 16:40:26
SMTP Error: Could not connect to SMTP host.
Message could not be sent.Mailer Error: SMTP Error: Could not connect to SMTP host.
I have tried SSL too, which says "can't connect". I have never had an experience like this.
Note: I am using PHPMailer
Does anyone have the same issues or is it just me ?