• Resolved mktbydas

    (@mktbydas)


    I set up the email on a test website and it worked correctly.
    I passed the data I used to my final website and it gives an error when I send a test email. The data is the same, I just generated a new password.
    The email I’m using is from gmail.

    I’ve reviewed the configuration and it’s exactly the same.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mktbydas

    (@mktbydas)

    This is the error.

    Versions:
    WordPress: 6.5
    WordPress MS: No
    PHP: 7.4.33
    WP Mail SMTP: 4.0.1 Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 101 Additional SMTP info: Network is unreachable
    Host: smtp.gmail.com
    Port: 587
    SMTPSecure:
    tls
    SMTPAutoTLS:bool(true)
    SMTPAuth:bool(true) Server:
    OpenSSL: OpenSSL 1.1.1w 11 Sep 2023
    Apache.mod_security: No Debug:
    Email Source: WP Mail SMTP Mailer: Other SMTP SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 101 Additional SMTP info: Network is unreachable SMTP Debug:
    2024-04-04 11:36:25 Connection: opening to smtp.gmail.com:587, timeout=300, options=array()
    2024-04-04 11:36:26 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.gmail.com:587 (Network is unreachable) [/home/spausapt/public_html/wp-includes/PHPMailer/SMTP.php line 409]
    2024-04-04 11:36:26 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
    SMTP Error: Could not connect to SMTP host. Failed to connect to server
    • This reply was modified 2 years, 2 months ago by mktbydas.
    Plugin Support Darshana

    (@darshanaw)

    Hi @mktbydas,

    Thanks for reaching out! It appears that your server is blocking SMTP connection requests.

    Instead of the Other SMTP mailer option, please follow our Google mailer guide and configure the WP Mail SMTP plugin using your Gmail email.

    Google Mailer utilizes an API-based connection method, which is known for its enhanced security and reliability.

    I hope this helps. Thanks!

    Thread Starter mktbydas

    (@mktbydas)

    Thank you for your reply.

    It could be a problem with the server where my website is hosted. In DEV mode it works fine and with any email. The “Live” website doesn’t have any “Other Email” integration.

    Plugin Support Darshana

    (@darshanaw)

    Hi @mktbydas,

    Yes, it’s a server-related issue that you need to report to your server support.

    In the meantime, please configure the Google mailer as mentioned above.

    I hope this helps. Thanks!

    Thread Starter mktbydas

    (@mktbydas)

    Thanks for your help, the problem was with the website’s server.
    I’ve fixed the problem.

    Thank you for your help.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with Send email’ is closed to new replies.