Question
1
Replies
21
Views
Posted: July 16, 2019
Last activity: July 16, 2019
Closed
Help OpenSpan outlook
Hello, I need to read an email and download an excel document attached.
Do you have any idea how to do something like that?
regards
***Edited by Moderator Marissa to update platform capability tags****
An Outlook mail item has a property called Attachments which is a collection of email attachments. You can iterate this array by passing it into a ListLoop (and extracting a proxy from the ListLoop item). From the item, you can check the file name to see if it is the one you want to save and then call the SaveAsFile method of the item to save it to disk.