Send Mail via Microsoft 365

Yeah, you’ll need to use a real mailbox. Either a service account or a shared mailbox where you setup Send on Behalf for the user account you authenticate with.