Hi
I want to validate the format of email attachment. It should be in .xlsx format and the attachment should be only 1.
please help
Hi
I want to validate the format of email attachment. It should be in .xlsx format and the attachment should be only 1.
please help
@Sana_Afreen
have a look here:
with an adoption give a try on:
YourMailVar.Attachments.Where(Function (x) Regex.IsMatch(Path.GetExtension(x.Name).ToUpper,".XLSX")).Count = 1
Sorry but I could’nt understand what to do here
@Sana_Afreen
can you show some screenshots from the relevant part of your workflow
there schould be a part where the mail variable is to test. Above statement can be used within an if activity for checking if XLSX attachment is present or not
Thankyou for explaining. Let me try this
It worked for me. Thanks Alot. Can you explain what exactly has happened here?