How to download the PDF files alone and save into the local folder?

If my outlook mail message have a no. of files in my inbox with different sender myself only downloaded a PDF files only and move into the local folder.

can any help me…

1 Like

Hi
this was really good to solve this issue

Kindly try and let know buddy
Cheers @keerthi_97

1 Like

Hi @keerthi_97

You can use this in filter property “(.pdf)”

Thanks,
Prankur

4 Likes

Eventually you can filter downloaded files with powershell to remove anything other that PDF :slight_smile:

Get-ChildItem -Path C:\attachments -Recurse -File | ? {$_.Extension -notlike ".pdf"} | Remove-Item -Force
2 Likes

in for each use that mailmessages
in that use if condition in which u can set condition whatever u want for ex if u want mails pdffrom particular user only then use
mailmsg.from(“abc.pqr.com”)
in then cond use save attachment

1 Like