I want to create an outlook web add-in ,in which I want .eml and and .txt of the email message and its attachment list? I am confused between EWS , Outlook RestAPI and MS Graph API to build it. I tried using EWS , but it had two issues:
where to get these credentials ,(an example would be helpful)
service = new ExchangeService { Credentials = new WebCredentials(OutlookEmailId, Password)
};
EWS are obsolete now.
So what is the right way of getting the email message content ? Could anyone please explain the steps in plain english. Also, any example would be a big help to start.
I am newbie in these integration and OAUTH concepts, please suggest. I want to put my efforts in right direction.