Getting Filename attchments error

Hey @pattwagunyi

Mail attachments is a collection.

You can either use ForEach or get it by index.

item.Attachments(0).Name

But provided the mail has some attachments.

Thanks
#nK