cancel
Showing results for 
Search instead for 
Did you mean: 

Download Attachements from EML File (Outlook VBO Read from EML freezing)

tim.dauti
Level 4

Hello All,

The process I am working on needs to download attachments from EML files.

Those Files are retrieved from an Application using API calls.

I tried the MS Outlook VBO with the action "Read from EML" which is supposed to be read the mail and also download the attachements. But unfortunatelly it freezes and moves does not even through an error.

If I double click manually the EML file it opens in Outlook and is possible to download the attachements.

If I convert the EML File in to MSG and try normal action get attachments it brings error "File is open or you have no access"

Have you ever faced such a case?

Thank you 

Tim

 

9 REPLIES 9

GeoffHirst
Staff
Staff

Hi @tim.dauti 

I am sorry to hear you are having issues with the Outlook VBO. My initial thoughts are that you have outlook open, perhaps in the background and that has the messages locked, hence the process is unable to process the message.

The message you report "File is open or you have no access" does in fact confirm this, so could you interrogate your system and see what instances of Outlook are running? We have a number of users who are successfully using this action and have not had reports of problems. This does not mean there aren't any and this is why I need you to report back with more information.

Thank you for being a SS&C Blue Prism Customer, and for using Blue Prism.

regards

Geoff Hirst Senior DX Engineer - Digital Exchange - EMEA SS&C Blue Prism

Hi @GeoffHirst ,

Thank you for the fast answer.

I checked and Outlook is closed.

That error message comes because they are uploading MSG files in the Application via converting them to EMLs (something similar I suppose).

I only provided the info in case of suggested workaround "convert EML to MSG", that will bring to that error just because of the source where this files comes from.

So in few words, this files can be executed only by working with them as EML . If in debug I double click on the EML file I receive no errors.

Issue with the Otlook VBO is that it freezes.

But Outlook is closed and the File as EML has no restrictions.

Thank you for the support

Tim Dauti

hi @tim.dauti 

Could you send me a screenshot of the parameters used in the Read From EML action? I am particularly interested in the SaveAttachmentsPath data item, but if you could send a screen shot that would be appreciated.

regards

Geoff Hirst Senior DX Engineer - Digital Exchange - EMEA SS&C Blue Prism

tim.dauti
Level 4

Hi @GeoffHirst ,

here the screenshot:,

timdauti_0-1749645405849.png

Kindly

Tim Dauti

GeoffHirst
Staff
Staff

Hi @tim.dauti 

The SaveAttachmentsPath, could you add a '\' (backslash) to the end and retry, please?

thanks

 

Geoff Hirst Senior DX Engineer - Digital Exchange - EMEA SS&C Blue Prism

Hi @GeoffHirst,

I tried both with and without backslash but does not change.

Kindly 

Tim Dauti

GeoffHirst
Staff
Staff

Hi @tim.dauti ,

I think the problem must be the fact that you are using a server path, rather than an actual file path. This would require some re-engineering of the asset to support this. It was never tested against server paths when it was created.

If you are able to map those paths to drive letters, and retry?, that would confirm this.

regards

Geoff Hirst Senior DX Engineer - Digital Exchange - EMEA SS&C Blue Prism

Hi @GeoffHirst ;

I tried that as well, but it does not work

timdauti_0-1749647003928.png

 

GeoffHirst
Staff
Staff

Hi @tim.dauti 

I have spent some time, reviewing the action and it works fine for me. I am wondering where are your eml files coming from? They are normally created by the outlook web version. Here is a link to a video file I created showing the action working. https://vimeo.com/1092496794

I hope it helps resolve your problem.

regards

Geoff Hirst Senior DX Engineer - Digital Exchange - EMEA SS&C Blue Prism