Hi Ray,
I've added the code and here is the output:
2023-01-20 08:26:20 Connection: opening to localhost:25, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2023-01-20 08:26:20 Connection: opened
2023-01-20 08:26:20 SMTP INBOUND: "220-sxb1plzcpnl473186.prod.sxb1.secureserver.net ESMTP Exim 4.95 #2 Fri, 20 Jan 2023 01:26:20 -0700"
2023-01-20 08:26:20 SMTP INBOUND: "220-We do not authorize the use of this system to transport unsolicited,"
2023-01-20 08:26:20 SMTP INBOUND: "220 and/or bulk e-mail."
2023-01-20 08:26:20 SERVER -> CLIENT: 220-sxb1plzcpnl473186.prod.sxb1.secureserver.net ESMTP Exim 4.95 #2 Fri, 20 Jan 2023 01:26:20 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2023-01-20 08:26:20 CLIENT -> SERVER: EHLO www.mydomain.com
2023-01-20 08:26:20 SMTP INBOUND: "250-sxb1plzcpnl473186.prod.sxb1.secureserver.net Hello www.mydomain.com [::1]"
2023-01-20 08:26:20 SMTP INBOUND: "250-SIZE 52428800"
2023-01-20 08:26:20 SMTP INBOUND: "250-8BITMIME"
2023-01-20 08:26:20 SMTP INBOUND: "250-PIPELINING"
2023-01-20 08:26:20 SMTP INBOUND: "250-PIPE_CONNECT"
2023-01-20 08:26:20 SMTP INBOUND: "250-AUTH PLAIN LOGIN"
2023-01-20 08:26:20 SMTP INBOUND: "250-STARTTLS"
2023-01-20 08:26:20 SMTP INBOUND: "250 HELP"
2023-01-20 08:26:20 SERVER -> CLIENT: 250-sxb1plzcpnl473186.prod.sxb1.secureserver.net Hello www.mydomain.com [::1]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2023-01-20 08:26:20 CLIENT -> SERVER: STARTTLS
2023-01-20 08:26:20 SMTP INBOUND: "220 TLS go ahead"
2023-01-20 08:26:20 SERVER -> CLIENT: 220 TLS go ahead
2023-01-20 08:26:20 CLIENT -> SERVER: EHLO www.mydomain.com
2023-01-20 08:26:20 SMTP INBOUND: "250-sxb1plzcpnl473186.prod.sxb1.secureserver.net Hello www.mydomain.com [::1]"
2023-01-20 08:26:20 SMTP INBOUND: "250-SIZE 52428800"
2023-01-20 08:26:20 SMTP INBOUND: "250-8BITMIME"
2023-01-20 08:26:20 SMTP INBOUND: "250-PIPELINING"
2023-01-20 08:26:20 SMTP INBOUND: "250-PIPE_CONNECT"
2023-01-20 08:26:20 SMTP INBOUND: "250-AUTH PLAIN LOGIN"
2023-01-20 08:26:20 SMTP INBOUND: "250 HELP"
2023-01-20 08:26:20 SERVER -> CLIENT: 250-sxb1plzcpnl473186.prod.sxb1.secureserver.net Hello www.mydomain.com [::1]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250 HELP
2023-01-20 08:26:20 Auth method requested: UNSPECIFIED
2023-01-20 08:26:20 Auth methods available on the server: PLAIN,LOGIN
2023-01-20 08:26:20 Requested auth method not available:
2023-01-20 08:26:20 Auth method selected: LOGIN
2023-01-20 08:26:20 CLIENT -> SERVER: AUTH LOGIN
2023-01-20 08:26:20 SMTP INBOUND: "334 VXNlcm5hbWU6"
2023-01-20 08:26:20 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2023-01-20 08:26:20 CLIENT -> SERVER:
2023-01-20 08:26:22 SMTP INBOUND: "535 Incorrect authentication data"
2023-01-20 08:26:22 SERVER -> CLIENT: 535 Incorrect authentication data
2023-01-20 08:26:22 SMTP ERROR: Username command failed: 535 Incorrect authentication data
SMTP Error: Could not authenticate.
2023-01-20 08:26:22 CLIENT -> SERVER: QUIT
2023-01-20 08:26:22 SMTP INBOUND: "221 sxb1plzcpnl473186.prod.sxb1.secureserver.net closing connection"
2023-01-20 08:26:22 SERVER -> CLIENT: 221 sxb1plzcpnl473186.prod.sxb1.secureserver.net closing connection
2023-01-20 08:26:22 Connection: closed
SMTP Error: Could not authenticate.
Email System Test (using SMTP) — Completed
Your help would be much appreciated.
Kind regards,
Thomas