Get List of attachment Names from an outlook email

Hi Team,

I would like to get only the names of all the attachments received in my mail box.

Thanks,
Jeevan.

@Jeevan_Reddy

Say you get your mails in a variable mails

  1. Use a loop to read each email and iniside use loop on currentitem.attachments
  2. 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