How to save .msg (Outlook mail) as an PDF

DFugere

New Member
Hi,

If you have your .msg in outlook you could print them as PDF, sending Ctrl+p. This solution is decent if your .msg file are in outlook already.

If you have multiple mail in a folder, you might want to use some dotnet code, here is some info on how to do it.

https://www.syncfusion.com/kb/5958/how-to-convert-eml-or-msg-to-pdf

They use visual studio, but you can use code stage in BP. Make sure to drop the dll in the blue prism folder.

Hope this help, let us know how it goes!
 

jrprajapati

New Member
Hi,

If you have your .msg in outlook you could print them as PDF, sending Ctrl+p. This solution is decent if your .msg file are in outlook already.

If you have multiple mail in a folder, you might want to use some dotnet code, here is some info on how to do it.

https://www.syncfusion.com/kb/5958/how-to-convert-eml-or-msg-to-pdf

They use visual studio, but you can use code stage in BP. Make sure to drop the dll in the blue prism folder.

Hope this help, let us know how it goes!


How can we import and use third-party package in BP code?

For example,

here it needs Syncfusion.HtmlToPdfConverter.QtWebKit.WinForms to be imported in visual studio.
 

DFugere

New Member
You need to download the Nugget Package, extract its content, then drop the .dll in Blue Prism Folder. You can then the import in it in the Code Options of the Business Object Properties Page.
 
Top