
i have a request, when you receive an email, how can outlook identify if the attachment is a PDF type file, if yes, save it to SharePoint or OneDrive automatically, if no, sent it back to the sender and tell him that the attachment in the email is not a PDF type file, or even doesn't have an attachment included. i need to filter every email to identify if they include pdf attachment, kindly let me know if i don't make it clear. thanks!!
Hi @superdamon ,
Maybe you can try this:
By getting the attachment name and judging whether the name contains 'pdf'.
Hope this helps you!
-----------------------------------------------------------------------------------------------------------------------------------
If my answer solves your problem, please accept it as a solution to help more people stuck on the same problem find it.
Best regards,
Rimmon Li