Hi All,
I am using the ‘Get Mail’ activity from the ‘MS365 activity package’ to get emails and I want to get only those PDF attachments.
I have used “hasattachments eq true” Odata query to filter the emails with attachments but I am not getting the how to filter for PDF attachments only.
I have tried multiple Odata query but they are not working for me below -
- “hasattachment=true and contains(attachment , ‘.pdf’)”
- “hasattachment eq true and contains(attachment , ‘.pdf’)”
- “hasattachment eq true and contains(attachment”.pdf)"
Please suggest Odata queries that can help me filter mails that have only pdf attachments.