Query about attachment


#1

realize this condition(if…else) with the body of a message item.Body.Contains(“Tabla”), how can I do the same but with the name of an attachment?

it’s possible?


#2

mail.Attachments.Where(Function(x) x.Name.Contains("Tabla"))


#3

Thanks for your response, I got the following error. Something did wrong.

Help me please


#4

append .Any or .Count >0


#5

Ok, thank you for your prompt response, it works perfectly. :slight_smile: :slight_smile: