Forum Discussion
TonyRedmond
Nov 01, 2022MVP
The Many Ways to Send Email via the Microsoft Graph
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.
- SystemEngineerSteel Contributor
Thank you TonyRedmond for sharing the article.