Download Email Attachments

Hello,

I’m very sorry if I’m repeating question, but I can’t find an answer.
The UiPath documentation states that UiPath.MicrosoftOffice365.Activities.Mail.DownloadEmailAttachments Downloads the specified email attachments to a local folder.
I understand from the description that the documents must be downloaded to my computer. However, the activity itself only allows me to create a Downloaded attachments list, which it saves in ILocalResource format.

How do I instruct it to store the documents in my desired folder? Thank you for your help.

1 Like

Hi @Laura_Ringiene
One way is put this activity inside
“Wait for download activity” and give one variable. → YourVar
Give path of folder where it downloads by default.

Wait for download will give you full path of files.
YourVar.FullName will give you full path.

After this you can move file where you want to place it.

Hi @Laura_Ringiene ,

Have you tried Save Attachments activity as shown in below screenshot,

I have tried, but I got empty folder

The only way to save the documents was by using the While loop and moving the documents from one directory to another.

Applying For Each failed. I specified ILocalResource, but item was recognized again as a list. I think I am not learning something yet.

1 Like

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