Get Attachment Names

@dimple.khurana
lets assume you want to get a string. give a try on:
myAttachements = String.Join(“,”, mailMessage.Attachments.Select(function(x) x.Name).toArray)

2 Likes