Hi Greg,
This is the log that I get:
2022-02-14 21:52:19 Connection: opening to smtp.office365.com:587, timeout=300, options=array ()
2022-02-14 21:52:19 Connection: opened
2022-02-14 21:52:19 SMTP -> get_lines(): $data is ""
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "220 SI2PR06CA0016.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 14 Feb 2022 21:52:19 +0000"
2022-02-14 21:52:19 SERVER -> CLIENT: 220 SI2PR06CA0016.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 14 Feb 2022 21:52:19 +0000
2022-02-14 21:52:19 CLIENT -> SERVER: EHLO 192.168.100.67
2022-02-14 21:52:19 SMTP -> get_lines(): $data is ""
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-SIZE 157286400"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-PIPELINING"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-DSN"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-STARTTLS"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-8BITMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-BINARYMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-CHUNKING"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250 SMTPUTF8"
2022-02-14 21:52:19 SERVER -> CLIENT: 250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-02-14 21:52:19 CLIENT -> SERVER: STARTTLS
2022-02-14 21:52:19 SMTP -> get_lines(): $data is ""
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "220 2.0.0 SMTP server ready"
2022-02-14 21:52:19 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2022-02-14 21:52:19 CLIENT -> SERVER: EHLO 192.168.100.67
2022-02-14 21:52:19 SMTP -> get_lines(): $data is ""
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-SIZE 157286400"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-PIPELINING"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-DSN"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-AUTH LOGIN XOAUTH2"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-8BITMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-BINARYMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250-CHUNKING"
2022-02-14 21:52:19 SMTP -> get_lines(): $data is "250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING"
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "250 SMTPUTF8"
2022-02-14 21:52:19 SERVER -> CLIENT: 250-SI2PR06CA0016.outlook.office365.com Hello [211.25.61.138]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-02-14 21:52:19 Auth method requested: UNKNOWN
2022-02-14 21:52:19 Auth methods available on the server: LOGIN,XOAUTH2
2022-02-14 21:52:19 Auth method selected: LOGIN
2022-02-14 21:52:19 CLIENT -> SERVER: AUTH LOGIN
2022-02-14 21:52:19 SMTP -> get_lines(): $data is ""
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6"
2022-02-14 21:52:19 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-02-14 21:52:19 CLIENT -> SERVER: aHNvY0Bkd2VsbHRlYy5hc2lh
2022-02-14 21:52:19 SMTP -> get_lines(): $data is ""
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6"
2022-02-14 21:52:19 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2022-02-14 21:52:19 CLIENT -> SERVER: VGVjaER3ZWxsQDEyMzQh
2022-02-14 21:52:19 SMTP -> get_lines(): $data is ""
2022-02-14 21:52:19 SMTP -> get_lines(): $str is "421 4.7.66 TLS 1.0 and 1.1 are not supported. Please upgrade/update your client to support TLS 1.2. Visit
https://aka.ms/smtp_auth_tls. [SI2PR06CA0016.apcprd06.prod.outlook.com]"
2022-02-14 21:52:19 SERVER -> CLIENT: 421 4.7.66 TLS 1.0 and 1.1 are not supported. Please upgrade/update your client to support TLS 1.2. Visit
https://aka.ms/smtp_auth_tls. [SI2PR06CA0016.apcprd06.prod.outlook.com]
2022-02-14 21:52:19 SMTP ERROR: Password command failed: 421 4.7.66 TLS 1.0 and 1.1 are not supported. Please upgrade/update your client to support TLS 1.2. Visit
https://aka.ms/smtp_auth_tls. [SI2PR06CA0016.apcprd06.prod.outlook.com]
SMTP Error: Could not authenticate.
2022-02-14 21:52:19 CLIENT -> SERVER: QUIT
2022-02-14 21:52:19 SERVER -> CLIENT:
2022-02-14 21:52:19 SMTP ERROR: QUIT command failed:
2022-02-14 21:52:19 Connection: closed
SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting[/b][/i][/b][/color][/color]