Most WordPress internet hosting providers tend not to configure this functionality correctly, and several simply just disable it to stop abuse. Your article recommends storing the email password inside the wp-config.php file as opposed to coming into it in the WP Mail SMTP options site. Did I overlook something? https://socialeweb.com/story2332173/the-best-side-of-office-365-smtp-setup