Notification with Exchange online Oauth2 and graph api

Hello,

We are using the OAuth2 modern authentication with Exchange Online in M-Files Admin settings for sending notifications. We have an app registration in Azure (Graph API) for that.

Works well, however the emails are not being stored in the Outlook - Sent Items of the mailbox used by M-Files.

With the Graph API, it is possible to use the "saveToSentItems" parameter (in the app that uses the api, here M-Files server) to ensure that emails are kept (or not) in the Sent Items folder.

Is there a way to enable this option directly in M-Files Server Admin or through a registry key or other settings file ?

Thanks

Parents Reply
  • You might consider using Unitfly Extension Kit to handle your notifications. Like the CK Advanced Notifications module it can log your activities. It can also send a copy of the outgoing mails to an additional mailbox of your choice (CC or BCC). You could create a special mailbox and use it as BCC target for all outgoing messages. 

    The next challenge would be to recognize failed status and respond automatically. Not sure how to do that, but it sounds like you already have a plan.

Children