0

I'm using Exchange Web Services Managed API 2.0 to connect to Exchange server 2010. I wanted to download email body to a PDF file in a folder on the disk.

I do not want to use any paid third party to integrate.

Any help will be appreciated.

Siva Mani
  • 3
  • 2
  • 1
    I found a solution. It is working for me. https://stackoverflow.com/questions/53324060/with-c-sharp-use-chrome-to-covert-html-to-pdf/53324757#53324757 – Siva Mani Jun 07 '21 at 13:36

1 Answers1

0

PdfSharp is a great free library for creating and manipulating PDFs. See this answer, it should set you in the right direction.

Edit: Seems like PdfSharp doesn't actually provide an option to convert an HTML to PDF. I have since explored different libraries. I found that ChromeHtmlToPdf is a good free alternative and easy to use. Bear in mind that it uses Chrome to work it's magic.

Yosef Bernal
  • 1,006
  • 9
  • 20