• Resolved cykingj

    (@cykingj)


    I’m using wp mail smtp to connect email to gmail or other smtp, but no matter what method I use, it doesn’t work.
    The error message “There was a problem while sending the test email.” keeps popping up and I don’t know how to do it.
    I will also attach the error log, so what should I do?

    Versions:
    WordPress: 6.4.3
    WordPress MS: No
    PHP: 8.1.27
    WP Mail SMTP: 3.11.1

    Params:
    Mailer: gmail
    Constants: No
    Client ID/Secret: Yes
    Auth Code: Yes
    Access Token: Yes

    Server:
    OpenSSL: OpenSSL 1.1.1w 11 Sep 2023
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): 7.87.0
    Apache.mod_security: No

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @cykingj,

    Thanks for reaching out and I’m sorry about the inconvenice.

    It seems the error log you shared is incomplete. The Debug and/or SMTP Debug section is missing.

    When you get a chance, could you please share a full error log recorded when you send a test email from WP Mail SMTP > Tools? Here’s a screenshot for the option to get a full error log: https://a.supportally.com/i/CUbZck. This will give us an idea of what might be going on.

    Thanks 🙂

    Thread Starter cykingj

    (@cykingj)

    Surprisingly, the error log is not incomplete, but an actual log. Is there any way to deal with this?

    • This reply was modified 2 years, 3 months ago by cykingj.
    • This reply was modified 2 years, 3 months ago by cykingj.
    Thread Starter cykingj

    (@cykingj)

    I solved it.
    The cause is that other default installed SMTP plugins were removed.

    zedeks11

    (@zedeks11)

    @cykingj how do you solved that? im having a similar situation here, doesn’t matter what can i do, it’s not working anymore, here is the error:

    Versions:
    WordPress: 6.5.3
    WordPress MS: No
    PHP: 8.2.18
    WP Mail SMTP: 4.0.2
    
    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host.
    Host: smtp.titan.email
    Port: 465
    SMTPSecure:ssl
    SMTPAutoTLS:bool(true)
    SMTPAuth:bool(true)
    
    Server:
    OpenSSL: OpenSSL 1.1.1w 11 Sep 2023
    Apache.mod_security: No
    
    Debug:
    Origen del correo electrónico: WP Mail SMTP Pro Mailer: Otro SMTP SMTP Error: Could not connect to SMTP host.
    
    SMTP Debug:
    2024-05-26 06:24:54 Connection: opening to ssl://smtp.titan.email:465, timeout=300, options=array()
    2024-05-26 06:24:54 Connection: opened
    2024-05-26 06:24:54 SERVER -> CLIENT:
    2024-05-26 06:24:54 Connection: closing due to error
    2024-05-26 06:24:54 Connection: closed
    SMTP Error: Could not connect to SMTP host.
    
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp mail smtp error’ is closed to new replies.