Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

1.My Manager is asking me to exchange the data between outlook to my application via .Net without providing any credentials to EWS. Can anyone tell me how to do this? .
2. Is there any way to exchange the data between outlook to my application by using SSO through .Net.

I am in urgent need now.

Thank you in advance.

What I have tried:

I am able to exchange the data between outlook to my application via EWS by providing Credentials to EWS.
Posted
Comments
Thomas Nielsen - getCore 20-Jun-17 3:59am    
You should never run a web application in a credentials context with access to outlook as you don't want your application to ...be...able..to...access...outlook/Exchange :)

instead let it communicate with a service which will more easily allow you to manage security and that service in turn can both close down security as to the requester, avoid having thus related leaving your locations network and get access to outlook cleany out of your web server :)
Michael0854 20-Jun-17 6:52am    
Can you please tell me how to get data from outlook without credentials in C#.net?
Thomas Nielsen - getCore 20-Jun-17 7:50am    
You did not read my response?

Ok if you want to do it, remember outlook is a desktop application, so you propably want to access the exchange server, which is where the mailbox is in effect.

Outlook is a part of office so you could use interop, it's not very fast, but it could provide what you need.
https://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.aspx

You cannot access classified information without running in a user context that has already logged in as that person, without using credentials for obvious reasons.
Michael0854 20-Jun-17 9:33am    
Thank you Thomas Nielsen
Michael0854 20-Jun-17 6:51am    
Can you please help me on this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900