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.



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 will five the name of each attachment

Else use linq inside the mails loop