Nov 01 2022 08:26 AM
For those wanting to eliminate the SMTP AUTH protocol from their PowerShell scripts, Microsoft has three ways to send email using Graph APIs (raw Graph APIs and the Send-MgUserMessage and Send-MgUserMail cmdlets from the Microsoft Graph PowerShell SDK. This article looks at how to use the Send-MgUserMail cmdlet and explains why the SDK really does need two cmdlets to send messages via Exchange Online.