I’m having an issue sending emails to <_username_>@outlook.com
using the Microsoft Graph API. Although I get a 202 Accepted response, I receive a delivery failure notification when I check the user’s mailbox:
Delivery has failed to these recipients or groups:
<username>@outlook.com
Your message wasn't delivered because the recipient's email provider rejected it.
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]'
When I logon to Outlook and manually send an email to <_username_>@outlook.com
from <_userId_>
's account, the email is sent successfully.
I’ve also tried adding a SMTP connector, but this did not fix the problem. When I use the SMTP connector to test Outbound Email, the email is received at <_username_>@outlook.com
.
Does anyone know what could be causing this issue?