How To: Secure Delphi SMTP With OAuth2

How to: secure Delphi SMTP with OAuth2 for sending emails via Exchange Online. Full Example source code is available now on GitHub.