Hi Team,
I want to get attachments count of “.pdf” in Office360 mailmessage please help me on this.
I tried below syntax but can’t get solution
currentO360Attachment.LocalItem.Extention.Count(“.pdf”)
Please help me anyone for this,
Regards,
Raja G
Hi Team,
I want to get attachments count of “.pdf” in Office360 mailmessage please help me on this.
I tried below syntax but can’t get solution
currentO360Attachment.LocalItem.Extention.Count(“.pdf”)
Please help me anyone for this,
Regards,
Raja G
Hi @Raja.G
Try the below syntax
pdfCount = mailMessage.Attachments.OfType(Of Microsoft.Graph.FileAttachment)().Count(Function(att) att.Name.EndsWith(".pdf"))
Regards
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.