Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I access Outlook mails with ASP.NET?

I'm trying to write an asp.net (using c#) app that accesses my Outlook mailbox and display the messages. I searched on google but couldn't find useful info, any help is appreciated?

like image 894
Tassisto Avatar asked Feb 25 '23 04:02

Tassisto


2 Answers

You must be aware of the fact that outlook is running on user local machine, and your ASP.NET application is running on some server and there is no way that your server side ASP.NET code can use Outlook local data.

AFAIK only way to do something like that would be creating outlook addin that will export all mails to ASP.NET application

like image 191
Antonio Bakula Avatar answered Mar 08 '23 01:03

Antonio Bakula


If you are using Exchange then you can use Exchange Web Services to read emails.

Please see here

like image 45
Matthew Steeples Avatar answered Mar 07 '23 23:03

Matthew Steeples