Grigoris Loukidis
Grigoris Loukidis

Reputation: 403

Is there any way to develop Outlook add-ins for server side using C#?

I have developed (using C#) an Outlook add-in, which implements some rules on client side.

It receives each incoming mail, and if it fits some rules it locates it in a specific folder. The main issue is that it works fine, only when outlook client is open on user pc. If it is closed it does not work, because it is triggered on client's pc.

I wonder if it can get developed or moved somehow on server side (Microsoft 365 Exchange Server), so it works 24/7.

Upvotes: 1

Views: 328

Answers (1)

Glen Scales
Glen Scales

Reputation: 22032

How complicated is the logic in code you have written ? eg a lot of the logic your talking about can be done in Office365 using Flow without needing to write any code (you can even write custom connectors for more advanced logic). You won't be able to use the Outlook code you have written but you can do the same thing using either the Microsoft Graph API and Webhooks to listen to incoming email and then use the Graph operations to perform whatever logic you have (host the app on Azure etc or even can be a server-less function hosted on Azure or AWS) or using EWS Notifications https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/notification-subscriptions-mailbox-events-and-ews-in-exchange

Upvotes: 0

Related Questions