I’m trying to save a mail message in UiPath (v.2016.2.6232) using the “Save Mail Message” activity.
So I get some mails from a folder using “Get Outlook Mail Messages” and iterate on the result list. For each mail, I save it with “Save Mail Message” activity and give it FilePath and MailMessage property. The mail is properly saved at the good place but when I’m trying to open it, I get an exception : “Can not open file “xxx”. The file does not exist, you do not have permission to open it or it is open in another program. Right-click the folder that contains the file, and then click Properties to check your permissions on the folder.”
I tried to do it manually and it works as expected.
I am saving a message so I can upload to a particular software as a file. One problem - Uipath doesn’t support .msg, and the software doesn’t support .eml.
Does anyone know a quick way I could convert the file?
Yeah - the software the business is using will only accept .msg files as uploads.
I ended up writing a short script that opens the file and saves it using Outlook, which converts it to the correct format.