How to convert .eml file to .msg file without using 3rd party custom libraries?

Hello uipath experts out there,

anyone knows how to use this solution in UiPath to convert .eml file to .msg file without using custom UiPath Package/Activities?

Thanks.

1 Like

Hey @MGP

Do you want to convert an MSG file to EML file right or to get a mail from mailbox and cover it to EML ?

Kindly confirm.

Thanks
#nK

Hi @Nithinkrishna

I am getting email via Exchange activity and saving them in .eml format.
Now, I would like to convert those .eml files to .msg files without using any 3rd party libraries.

There is also known solution which I have attached in my question, but I don’t know how to use it in UiPath. It would be great help if you can explain that or provide your own solution.

Thanks.

1 Like

Sure, let me check it @MGP

Will keep you posted.

Hey @MGP

Just curious to know, why don’t you directly save it in MSG format.

Thanks
#nK

Hi

I would suggest to save directly as msg file if we are not going to use that eml file

Refer this thread to save the mail as msg file with a xaml file

cheers @MGP

Hi @Palaniyappan & @Nithinkrishna

I have tried to save directly as .msg file but there was a problem.

On production VMs, we can not use outlook activites becuase outlook is not available. That’s why we can not use “save outlook mail message” activity to save directly as .msg file

When I use “save mail message” to save it directly as .msg file then downloaded file is not accessible with following message. This is known problem from uipath.

So, as a work around I try to save it as .eml & convert it as .msg file but that also I find it difficult without using any 3rd party libraries. Any solution would be helpful here.

Thanks.

1 Like

Hey @MGP

Check this once if it helps,

Thanks
#nK

Thanks for the suggestion @Nithinkrishna

In this process we archive emails for audit purpose and it would not be great idea to perform copy and paste option to convert eml to msg. In this case, there is room for manipulation which will not look good while audit.

That’s why I am looking for a method which can directly convert eml to msg.

PS. my apologies if it sounds too demanding but it’s matter of security in audit.

Thanks.

1 Like

Hey @MGP

No worries, It’s fine as you have a valid scenario.

We will see if anything comes up and keep you posted.

Thanks
#nK

1 Like

We can convert EML files into MSG using the manual solution. But, if you are having thousands of EML files and you have to convert all of them into PST then it might be a tedious task. In such cases, using a professional EML Converter is always a good choice. Many users and tech experts suggest using MacSonik EML Converter Tool to convert EML files into MSG, PDF, PST, TXT, HTML, and many more file formats. This utility also provides an option to migrate EML files into multiple email clients without any data alteration.

If you want to Convert EML to MSG? then you can take help of this Softaken EML to MSG Converter for instant conversion of EML Files to MSG Format. This software converts multiple EML Files to MSG Format without losing any single data. It has simple GUI which can be easily managed by any non-technical users to export EML to MSG format. By using EML to MSG Converter tool, users can easily access their entire EML data into MSG Format along with all the attachments.