How to save perticular file from outlook, when the attachments contains multiple files

Hi,

That activity only saves all attachments unfortunately.

But, you could iterate the attachments, check f.e. their name or MIME type, get the ContentStream and save it to a file.
Just remember to Close/Dispose of the streams to not leave stray handles.

Can’t provide an example right now - maybe a little later or someone else will be able to help.

Regards,
Andrzej

4 Likes