Exchange Server retrieve email to html or pdf

Tony Jia 1 Reputation point
2021-04-19T10:05:09.457+00:00

Dear Team,

Could you help to guide if any api which could retrieve email to html or pdf?
ps: email including Subject from to cc body attachment

We have a requirement which need to retrieve the email and save it to pdf purpose for archive.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,267 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
526 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Glen Scales 4,431 Reputation points
    2021-04-20T23:36:16.247+00:00

    What do you actually need in the PDF ? just the body of the Message ? the MIME Content including the attachments ?

    You can use the Graph API to get Body or the Mime Content eg https://video2.skills-academy.com/en-us/graph/outlook-get-mime-message

    0 comments No comments