Home > OS >  Code to pull data from Outlook to a website, is it possible?
Code to pull data from Outlook to a website, is it possible?

Time:06-08

I want to pull the subject and date from the Outlook application and this data will be posted to a website has text box and it will fill these boxes.

Lets just say I have automated email has this website link

Once I click on it it will open up the website and already will fill the subject and date of the email.

is it possible to do that?

Thanks

CodePudding user response:

you can use microsoft graph api to get email content and display it as you want, this link will be useful https://docs.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=http

CodePudding user response:

This have no logic -

the Outlook application is run on client ? then you can not read anything because asp.net runs on server...

the outlook application is runs on server ? neither that can works because asp.net is a service and logged in as a non user interface - so outlook not runs - and even if its runs, it will be on different user

You only need to read outlook data ? The outlook data, is actual e-mails - so you have to find a different approaches and read the emails...

  • Related