Conversion of .eml file type to .pdf

Hi Team,

I’ve a .eml file and i would like to convert it to a .pdf file. Have anyone tried or achieved this conversion?

Hi @Psr
Welcome to the Community

Here is my approach:

Input Mail:

The WorkFlow

Explanation:

  1. Read .eml file as text using “Read Text File” activity.
  2. Save it with .html extension.
  3. Open .html in Word using “Word Application Scope”.
  4. Export to PDF Inside the Word scope, using Save Document as PDF.

The Output:
image

If this solves your question, Do mark it as a solution
Happy Automation :star_struck:

1 Like

Hey @Psr kindly check the below thread .

cheers

Hi
But that eml might have attachment and also the output pdf consists only the body of the mail. I need a similar pdf file like how we do manually in outlook–> print–> save as pdf. Similar structure i need

As far as i am aware, there is no direct way of doing it.

You might have to use a third-party package (from Marketplace) or Write a “Custom Invoke Code” in order to maintain the same format of the Print option along with the attachment details.

I have not tried this, but could you check:

Vote!

:smiling_face_with_tear:
On their Roadmap since May 2023 ??