Replies: 0
I keep getting this error log. My email is at my domain but goes through google workspace. I don’t know why this won’t work. The error log is below.
Versions:
WordPress: 5.7.2
WordPress MS: No
PHP: 7.4.16
WP Mail SMTP: 2.9.0
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host.
Host: localhost
Port: 25
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.1j 16 Feb 2021
Apache.mod_security: No
Debug:
Mailer: Other SMTP
SMTP Error: Could not connect to SMTP host.
SMTP Debug:
2021-07-12 02:33:20 Connection: opening to localhost:25, timeout=300, options=array()
2021-07-12 02:33:20 Connection: opened
2021-07-12 02:33:20 SERVER -> CLIENT: 220-cp15-ga.privatesystems.net ESMTP Exim 4.94.2 #2 Sun, 11 Jul 2021 21:33:20 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2021-07-12 02:33:20 CLIENT -> SERVER: EHLO carrawaycopywriting.com
2021-07-12 02:33:20 SERVER -> CLIENT: 250-cp15-ga.privatesystems.net Hello carrawaycopywriting.com [::1]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2021-07-12 02:33:20 CLIENT -> SERVER: STARTTLS
2021-07-12 02:33:20 SERVER -> CLIENT: 220 TLS go ahead
2021-07-12 02:33:20 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=<code>cp15-ga.privatesystems.net' did not match expected CN=</code>localhost' [/home/carraway/public_html/wp-includes/PHPMailer/SMTP.php line 467]
SMTP Error: Could not connect to SMTP host.
2021-07-12 02:33:20 CLIENT -> SERVER: QUIT
2021-07-12 02:33:20
2021-07-12 02:33:20
2021-07-12 02:33:20 Connection: closed
SMTP Error: Could not connect to SMTP host.