Say you get your mails in a variable mails
- Use a loop to read each email and iniside use loop on currentitem.attachments
- Inside that loop attachment.name will five the name of each attachment
Else use linq inside the mails loop
Mail.attachments.select(function(x) x.name).toarray()
Cheers