i have problem to connect through smtp to office365. I read all tips here but nothing help.
Debug:
2018-05-16 08:12:52 Conne
also check $mail->SMTPAuth = true;
Use the Microsoft 365 admin center to enable or disable SMTP AUTH on specific mailboxes
Open the Microsoft 365 admin center and go to Users > Active users. Select the user, and in the flyout that appears, click Mail. In the Email apps section, click Manage email apps. Verify the Authenticated SMTP setting: unchecked = disabled, checked = enabled. When you're finished, click Save changes.