I am using Gmail SMTP to send form data in a Wordpress site to an external Gmail email account but it is being blocked. As it works on other hosts I assume it is an X10 security problem. The trace I get is:
2017-12-08 11:51:30 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2017-12-08 11:51:32 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.gmail.com:587 (Network is unreachable) [/home/telecomt/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 299]
2017-12-08 11:51:32 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
SMTP connect() failed.
Any ideas how to fix this please?
2017-12-08 11:51:30 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2017-12-08 11:51:32 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.gmail.com:587 (Network is unreachable) [/home/telecomt/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 299]
2017-12-08 11:51:32 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
SMTP connect() failed.
Any ideas how to fix this please?