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?
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?
mail.Attachments.Where(Function(x) x.Name.Contains("Tabla"))
append .Any
or .Count >0
Ok, thank you for your prompt response, it works perfectly.