How to get attachments from mail messages already downloaded in folders




I have the following issue. I need to get attachments from mail messages that are already downloaded in a folder (on a computer not in the mailbox).

I know how to get attachments from outlook messages. I also know how to get files from a folder and loop through them. What I can’t seem to do is treat these files as messages and therefore be able to get the attachments. I think what would help me is either convert a file variable to message variable or instead of extracting files from directory extract them directly as messages.

Would anybody be able to help me with this or does anybody have other ideas how to do this?
The best would of course be getting the mail messages directly from outlook but unfortunately this is not possible.

Thank you!



If .msg extension, this is one way to retrieve.


Thank you vvaidya! This worked well for us!