How to save the mutliple attachments from the outlook?

Hi All,

I want to save the 4 attachments (2 word documents, 1 excel file and a pdf file) from the outlook mail.
Please suggest me how to do this??

thanks in advance.

@naveen.s,

Use Save attachments activity. It will save all the attachments.

Thanks,
Ashok :slight_smile:

1 Like

Hi @naveen.s

→ Use the Get IMAP Mail Message activity to get mail and store in a variable called Received_mails.
→ Then use for each activity to iterate through each mail in Received_Mails.
→ Inside for each insert the Save attachment activity to store the attachments in a folder.

Hope it helps!!

1 Like

@ashokkarale
getting error like this

@naveen.s,

Try this solution. It will give you array of string with attachment paths.

Output:
image

Sample code:
AttachmentDemo.xaml (11.3 KB)

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.