0
votes

I am wondering if there is a way to create a subscription for the MS Graph API which will send a notification every time a message is send by a user ? If so how would i do that ? Would i subscribe to the send folder on create or is there another way. Currently i have subscription for new emails which works but i have a need for send ones as well. The documentation does not mention anything specific for the send subscription

https://docs.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http

1
are you asking about ms graph notification when user creating emails?InfoÁsith
When user sends an email and it is created in the send folderNoSoup4you

1 Answers

1
votes

You could subscribe to created change type in the sent items folder. However there are some cases where emails can be sent without creating a message in sent items. Resource would look like this

me/mailFolders('SentItems')/messages