Support » Plugin: Gmail SMTP » Test email not working

  • Resolved Asif Ahmmad


    When i try to send test email it’s showing error with the following messages –

    2017-11-14 18:41:49 Connection: opening to, timeout=300, options=array ()
    2017-11-14 18:46:03 Connection failed. Error #2: stream_socket_client(): unable to connect to (Network is unreachable) [/home5/sddreamh/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 294]
    2017-11-14 18:46:03 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
    SMTP connect() failed.

    server info
    OS: Linux 3.10.0-614.10.2.lve1.4.50.el6h.x86_64 #1 SMP Mon May 22 17:31:11 EDT 2017 x86_64
    PHP version: 5.6.32
    WordPress version: 4.8.3
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.24.0, OpenSSL/1.0.0

    I tried both – ssl-465 and tsl-587

    I contacted bluehost support, they didn’t block ports 587 and 465

Viewing 1 replies (of 1 total)
  • Plugin Author Noor Alam


    @asif-ahmmad, It’s saying “Network is unreachable”. That means the plugin is not being able to connect to the remote SMTP server. This happens when the port in question is blocked.

Viewing 1 replies (of 1 total)
  • The topic ‘Test email not working’ is closed to new replies.