• Resolved Gin

    (@rawdolphe)


    Hi,

    I have installed this plugin few days ago and everything was setup and working fine. I didn’t change a thing since last night.

    Today out of blue, the email stopped working on my desktop (Mac OS Mail), warning says: ‘Connections to host mail.mywebsite.com on the default ports failed’.

    I can send and receive emails from cPanel Roundcube ok though.

    In WordPress > WP Mail SMTP > Email Test > Send Email:
    There was a problem while sending the test email.

    View Full Error Log:

    WordPress: 6.4.3
    
    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 Additional SMTP info: php_network_getaddresses: getaddrinfo failed: Name or service not known
    
    Host: mail.mywebsite.com
    
    Port: 465
    
    SMTPSecure: ssl
    
    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 Additional SMTP info: php_network_getaddresses: getaddrinfo failed: Name or service not known
    
    SMTP Debug:
    2024-03-30 12:32:33 Connection: opening to ssl://mail.mywebsite.com:465, timeout=300, options=array()
    2024-03-30 12:32:34 Connection failed. Error #2: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known [/home/myusername/public_html/wp-includes/PHPMailer/SMTP.php line 397]
    2024-03-30 12:32:34 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://mail.mywebsite.com:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) [/home/myusername/public_html/wp-includes/PHPMailer/SMTP.php line 397]
    2024-03-30 12:32:34 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
    SMTP Error: Could not connect to SMTP host. Failed to connect to server

    The very annoying part is that I am in the middle of setting up a newsletter plugin!

    Please advise if you can, thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @rawdolphe,

    Thanks for reaching out! Please note that the WP Mail SMTP plugin acts as a bridge between your WordPress site and your email provider.

    Please contact your email provider with your debug log and they should be able to assist you further.

    I hope this helps. Thanks!

    Thread Starter Gin

    (@rawdolphe)

    Hi @darshanaw,

    Thank you, I got it fixed, it was issue the server indeed.

    Thread Starter Gin

    (@rawdolphe)

    PS: In Settings > General > Return Path on/off it says ‘Return Path indicates where non-delivery receipts – or bounce messages – are to be sent.
    If unchecked, bounce messages may be lost.

    Where do we set this please?

    Plugin Support Darshana

    (@darshanaw)

    Hi @rawdolphe,

    The “return path” option is only available for some mailers.

    When you select a mailer (Other SMTP), you should be able to see that option above the mailer selection section (see: https://a.supportally.com/i/wsMNiG).

    I hope this helps. Thanks!

    Thread Starter Gin

    (@rawdolphe)

    Hi @darshanaw,

    Thanks for your reply, I do have this ‘on’ already, but the question is:

    Where do we set this ‘Return path’ email address exactly?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SMTP Error’ is closed to new replies.