Darshan Gencarelle
Darshan Gencarelle

Reputation: 3

Office 365 server side email scanner

I would like to create an application that scans all incoming emails to an entire Office 365 domain and then takes some action based on the contents. Think virus or spam scanner. Are there APIs to do this? It looks like it might be possible using the Graph APIs, but they seem to be more per user focused. I'd like access to emails at a more global level if possible.

Upvotes: 0

Views: 187

Answers (1)

Eric Legault
Eric Legault

Reputation: 5834

Yes, you can monitor for incoming emails (or any change to any item in any folder) by using the Outlook Push Notifications REST API. There's a great code sample here as well.

Upvotes: 0

Related Questions