2 factor authentication enabled
The application doesn't send emails if you have 2 factor authentication enabled.
3
votes

Hello again,
Try this: Create an app password and use that instead. You can see a guide here: https://support.office.com/en-us/article/Create-an-app-password-for-Office-365-3e7c860f-bda4-4441-a618-b53953ee1183