• Resolved jestercarl14

    (@jestercarl14)


    Hi,

    I tried using a Google Workspace account to set up an SMTP server, but I could not get it to work. I have already used the app-generated password and enabled the iMAP/POP settings in my Google account, but nothing is working.

    My reference is the below link

    https://easywpsmtp.com/docs/setting-up-the-other-smtp-mailer/#generating-app-passwords

    Below is my error. Hope you can help me on this.

    Versions:
    WordPress: 6.2.2
    WordPress MS: No
    PHP: 7.4.33
    Easy WP SMTP: 2.1.2 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: 465
    SMTPSecure:
    ssl
    SMTPAutoTLS:bool(true)
    SMTPAuth:bool(true) Server:
    OpenSSL: OpenSSL 1.1.1w 11 Sep 2023 Debug:
    Email Source: Easy WP 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:
    2023-12-04 06:43:14 Connection: opening to ssl://smtp.gmail.com:465, timeout=30, options=array()
    2023-12-04 06:43:15 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable) [/home/backupsiteimanil/public_html/fseconstruct/wp-includes/PHPMailer/SMTP.php line 389]
    2023-12-04 06:43:15 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
    SMTP Error: Could not connect to SMTP host. Failed to connect to server

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

Viewing 1 replies (of 1 total)
  • Hi there @jestercarl14,

    It looks like there is a problem reaching Google’s SMTP server:

    Additional SMTP info: Network is unreachable

    Reach out to your web host about this. They may be blocking outgoing SMTP connections from your hosting account. If that’s the case, it means your site won’t be able to make connections to SMTP servers. They may be able to whitelist the connection or make an exception for your account, but if you reach out to them, they should be able to let you know.

    I hope that helps! Have a great day!

Viewing 1 replies (of 1 total)

The topic ‘SMTP error using Google Workspace’ is closed to new replies.