Simple mailer script in python3 to send basic emails via hosted Microsoft Exchange OWA. Not for ops but good enough for CTFs, HTB, etc...
Needs exchangelib. Install with pip3 or however you like:
pip3 install exchangelib
Pretty self explanatory...change the below variable values in the script to get the job done:
username
password
server
account
recipient_emails
subject
body