Email routing help

Versions:
WordPress: 6.2.2
WordPress MS: No
PHP: 7.4.33
WP Mail SMTP: 3.8.0

Params:
Mailer: smtp
Constants: Yes
ErrorInfo: SMTP Error: Could not connect to SMTP host.
Host: route1.mx.cloudflare.net
Port: 465
SMTPSecure:

tls

SMTPAutoTLS:

bool(true)

SMTPAuth:

bool(true)

Server:
OpenSSL: OpenSSL 1.1.1k FIPS 25 Mar 2021
Apache.mod_security: No

Debug:
Email Source: WP Mail SMTP Mailer: Other SMTP SMTP Error: Could not connect to SMTP host.

SMTP Debug:

2023-06-16 00:35:48 Connection: opening to route1.mx.cloudflare.net:465, timeout=300, options=array()
2023-06-16 00:35:48 Connection: opened
2023-06-16 00:35:48 SERVER → CLIENT:
2023-06-16 00:35:48 Connection: closing due to error
2023-06-16 00:35:48 Connection: closed
SMTP Error: Could not connect to SMTP host.

Welcome to the Cloudflare Community. :logodrop:

Cloudflare does not offer outbound SMTP relay services. You will need to find an appropriate transactional email service provider that you can use to relay your WordPress mail.

1 Like

Versions:
WordPress: 6.2.2
WordPress MS: No
PHP: 7.4.33
WP Mail SMTP: 3.8.0

Params:
Mailer: smtp
Constants: Yes
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.wearelazyengineers.com
Port: 465
SMTPSecure:

tls

SMTPAutoTLS:

bool(true)

SMTPAuth:

bool(true)

Server:
OpenSSL: OpenSSL 1.1.1k FIPS 25 Mar 2021
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:

2023-06-16 01:02:20 Connection: opening to mail.wearelazyengineers.com:465, timeout=300, options=array()
2023-06-16 01:02:20 Connection failed. Error #2: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known [/home/wearelaz/public_html/wp-includes/PHPMailer/SMTP.php line 389]
2023-06-16 01:02:20 Connection failed. Error #2: stream_socket_client(): unable to connect to mail.wearelazyengineers.com:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) [/home/wearelaz/public_html/wp-includes/PHPMailer/SMTP.php line 389]
2023-06-16 01:02:20 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 Cloudflare Community is unable to assist you with troubleshooting your third-party WordPress SMTP. You will need to consult with the email service provider or a general sever administration forum for such assistance.

1 Like

Ok. Thank you for your assistance @epic.network

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.