• Initially the plugin was working good. After getting a hacking attempt on the site, Gmail SMTP is not working. I have changed the client secret, still it’s not working. What should i do now? Please help..
    Domain: https://ashi-haryana.org

    Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ( ‘ssl’ => array ( ‘verify_peer’ => false, ‘verify_peer_name’ => false, ‘allow_self_signed’ => true, ),)
    Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)
    SMTP ERROR: Failed to connect to server: Connection refused (111)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter birjit.saha

    (@birjitsaha)

    OS: Linux sindhu.ewebguru.net 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64
    PHP version: 5.6.30
    WordPress version: 4.7.5
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Disabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.53.1, OpenSSL/1.0.1e

    • This reply was modified 7 years, 5 months ago by birjit.saha.
    Plugin Author Noor Alam

    (@naa986)

    Hi, It looks like the plugin is not being able to connect to the remote SMTP server. Usually that happens when the SMTP port in question is blocked. Please contact your host to make sure that port 587 is open and supports TLS encryption (you should then change it from SSL:465 to TLS:587 in the settings). Disabling allow_url_fopen could also be the reason why it’s not working (but check the SMTP ports first and see if it works).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gmail SMTP is not working after hacking attempt on the site.’ is closed to new replies.