Prerequisites:
- A Microsoft 365 account with a mailbox.
- The mailbox must have SMTP AUTH enabled.
- You must know your Microsoft 365 email address and password (or use an app password if MFA is enabled).
- Your website server should support TLS and allow outbound connections to port 587.