小编Nin*_*Ak3的帖子

Microsoft Graph - 使用 sendMail API 时电子邮件传送失败

我在遇到问题https://graph.microsoft.com/v1.0/users/ <用户id > / sendmail的。

我收到 202 Accepted 作为响应,但是当我浏览到上面的用户邮箱时,我收到如下的传递失败通知:

Delivery has failed to these recipients or groups:

<username>@outlook.com
Your message wasn't delivered because the recipient's email provider rejected it.
Run Code Online (Sandbox Code Playgroud)
Remote Server returned '550 5.7.708 Service unavailable. Access denied, traffic not accepted from this IP. For more information please go to http://go.microsoft.com/fwlink/?LinkId=526653 AS(7171) [SYBPR01MB4428.ausprd01.prod.outlook.com]'
Run Code Online (Sandbox Code Playgroud)

当我登录 Outlook 并从 < userId > 的 Outlook向 < username >@outlook.com发送电子邮件时,电子邮件已成功发送。

有谁知道这里发生了什么?

我尝试添加 SMTP 连接器,但没有解决问题。当 SMTP 连接器发送电子邮件以测试出站电子邮件时,它可以正常工作,因为我可以在<_username_>@outlook.com.

microsoft-graph-api

5
推荐指数
1
解决办法
665
查看次数

标签 统计

microsoft-graph-api ×1