Download Attachments emails

I’m trying to download all the attachments of specific e-mails.

Looking in the docs of Open Rpa I found the following instructions:

Users can also download all the attachments in a given folder or specific email by using the item.SaveAttachments(${FOLDERPATH}, ${OVERWRITE}) function, where ${FOLDERPATH} is the String variable containing the path of the folder file path the attachments will be saved and ${OVERWRITE} is the Boolean value which specifies whether to overwrite files, if set to True , or not.

But i’m confuse, where should a I put this function?

Inside get emails, add a Assign activity
Create a dummy boolean variable, and assign it the value if


item.SaveAttachments(“c:\temp”)

Change c:\temp to where you want them.

2 Likes

Perfect! It works for me.

Thank you!

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