You can use the Send-MgUserMail cmdlet or Graph API.
If you prefer Graph API (Code sample available in PhP too), check the below link.
https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=php
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi ,
I am developer , i want to send email through the client id and secret with tenant id without SMTP ,
Can you please tell me that how to send email to any other person like ******@gmail.com in PHP Laravel 9 technology ,
Or provide any reference so that we can do .
.
You can use the Send-MgUserMail cmdlet or Graph API.
If you prefer Graph API (Code sample available in PhP too), check the below link.
https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=php