question

totallyGizmo avatar image
0 Votes"
totallyGizmo asked RajeshKumarMSFT-6137 answered

MSGraph Send API does not report failed to deliver on messages

A user can send an e-mail with this snippet.

result , err := client.UsersById(user).MailFoldersById(mailFolderId).Messages().Post(requestBody)

The result will show that a message object was created. If a user sends the same message 3 times, the output is the same. This is problematic. Two of the 3 remaining messages will be caught by the spam filter and the API generates neither error nor any additional information stating that there was potentially a problem. Is there a way to identify a message as not being delivered within the GraphAPI ecosystem?

  • Using microsoft-sdk-go v.22

microsoft-graph-mailmicrosoft-graph-data-connectmicrosoft-graph-extensions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RajeshKumarMSFT-6137 avatar image
0 Votes"
RajeshKumarMSFT-6137 answered

Hi @DannyAdams-2744,

Hope you are doing well,

Generally these issues occurs while using trail tenant to perform this send email activity using Graph API.

This error occurs when sending email from known, low reputation IP addresses that are typically used by new customers on Trail tenants.
To fix this issue your Tenant needs to be added to a sending exclusion for 60 days to allow them to use blocked IPs whilst they still have a new/trial license.

Please raise a case with MS Support team from your tenant where you are facing issue respective team will provide exclusion for your tenant.

Hope this helps.

If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.