Error when using SMTP
-
Versions:
WordPress: 6.1.1
WordPress MS: No
PHP: 7.4.33
WP Mail SMTP: 3.7.0 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: localhost
Port: 25
SMTPSecure: string(0) ""
SMTPAutoTLS: bool(false)
SMTPAuth: bool(false) Server:
OpenSSL: OpenSSL 1.1.1p 21 Jun 2022
Apache.mod_security: No Debug:
Email Source: WP Mail SMTP
Mailer: Autre 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:
2023-02-01 16:38:22 Connection: opening to localhost:25, timeout=300, options=array() 2023-02-01 16:38:22 Connection failed. Error #2: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known [/home/jwpbwium1157/public_html/wp-includes/PHPMailer/SMTP.php line 389] 2023-02-01 16:38:22 Connection failed. Error #2: stream_socket_client(): unable to connect to localhost:25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) [/home/jwpbwium1157/public_html/wp-includes/PHPMailer/SMTP.php line 389] 2023-02-01 16:38:22 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 serverHi, I am using WP Mail SMTP to direct contact forms to my email, however in the past few days the entries were not sending and there was an error:
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 knownI have been using this plug-in with my hosting provider for a while now so on my end nothing has changed to mae this happen. I called GoDaddy to try figure this out but their solution was toreset mailing system on their end which didn’t help.
Please advise for further steps!
The topic ‘Error when using SMTP’ is closed to new replies.