有没有办法通过 Azure 功能向 Azure 服务主体发送电子邮件?
Is there any way of sending an email to Azure Service principal through an Azure function?
我们正在探索 Graph API,但找不到任何用于向服务主体发送电子邮件的代码。有没有人有任何文章或有用的代码?谢谢
服务负责人没有电子邮件。但是,如果您想向用户邮箱发送电子邮件,您可以使用此处描述的 Graph API:https://docs.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0. Don't forget to properly auth. before you send an email and make sure you have correct API permissions to send emails: https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http#permissions
我们正在探索 Graph API,但找不到任何用于向服务主体发送电子邮件的代码。有没有人有任何文章或有用的代码?谢谢
服务负责人没有电子邮件。但是,如果您想向用户邮箱发送电子邮件,您可以使用此处描述的 Graph API:https://docs.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0. Don't forget to properly auth. before you send an email and make sure you have correct API permissions to send emails: https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http#permissions