Security problem?

Discussion in 'Free Hosting' started by telecomt, Dec 8, 2017.

  1. telecomt

    telecomt New Member

    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    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?
     
  2. lylex10h

    lylex10h Active Member

    Messages:
    923
    Likes Received:
    65
    Trophy Points:
    28
    Create an email account in cPanel and use that account to send the mail to your gmail account.
     
    • Like Like x 1
  3. telecomt

    telecomt New Member

    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Excellent idea. Thanks for the advice lylex10h
     

Share This Page