How to save Zip file attachments from multiple .msg files in a folder

I need a solution for how to save Zip file attachments from multiple .msg files in a folder. Kindly help on this issue.

Hi @sathish_moorthy

Try this

Regards,

Hi sathish_moorthy,
Please follow the next steps as below:

  • Read the mail using get mail activity as per your requirement
  • output will be of type mail message
  • use for each loop of the mail message, check with if condition if there are any attachments,
    Then, if you have any attachments then save them usng save attachments, the output of save attachment will have IEnumberable attachments, so this will have the path along with name of the file and type of the file, again use if statement to check if the IEnumerable attachments ends with .msg format or not,

Let us know if you have any doubts.

1 Like

How to download this package

@sathish_moorthy

Please follow the below image

Its not working .unable to save attachments or get data from outlook item

@sathish_moorthy

Can you try the below, it is working

BlankProcess20.zip (165.6 KB)

Regards,