Sono riuscito a eseguire "Completa configurazione" senza errore. Quando voglio inviare una email ho questi errori nel log:
[2022-12-04 09:14:41] Logs.ERROR: SERVER -> CLIENT: 220 MR1P264CA0121.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 4 Dec 2022 08:14:32 +0000 []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: CLIENT -> SERVER: EHLO example.com []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SERVER -> CLIENT: 250-MR1P264CA0121.outlook.office365.com Hello [123.123.123.123] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8 []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: CLIENT -> SERVER: STARTTLS []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SERVER -> CLIENT: 220 2.0.0 SMTP server ready []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: CLIENT -> SERVER: EHLO example.com []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SERVER -> CLIENT: 250-MR1P264CA0121.outlook.office365.com Hello [123.123.123.123] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH LOGIN XOAUTH2 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8 []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: CLIENT -> SERVER: AUTH XOAUTH2 dXNlcj3aVlYQndZ2RfOEgzWVc5wZ1Jzdnl6QzdvdWdCMmhrTExBaTRZaTZ.........SFdSN1NSdzYyVlhKRVd4MkFJMWZhRXk2NUxTQkVNMDVUZUp6ekRTUDlnc0k1TGcBAQ== []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SERVER -> CLIENT: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [MR1P264CA0121.FRAP264.PROD.OUTLOOK.COM] []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SMTP ERROR: AUTH command failed: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [MR1P264CA0121.FRAP264.PROD.OUTLOOK.COM] []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SMTP Error: Could not authenticate. []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: CLIENT -> SERVER: QUIT []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}
[2022-12-04 09:14:41] Logs.ERROR: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting []
{"url":"/editor.php?id_module=3&id_record=11","ip":"192.168.3.100","http_method":"POST","server":"example.com","referrer":"https://example.com/editor.php?id_module=3&id_record=11","uid":"d8571d2"}

Grazie