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…
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…
Eventually you can filter downloaded files with powershell to remove anything other that PDF
Get-ChildItem -Path C:\attachments -Recurse -File | ? {$_.Extension -notlike ".pdf"} | Remove-Item -Force
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
@Pablito @PrankurJoshi @ImPratham45 @Palaniyappan @keerthi_97
how get the attachments(pdf) from attached email(.msg) in the email , so email - email - pdf
also pdf attachments from email ?
and then I need to apply regex to get the list of all the dates , get the latest date save it in a variable .
how get the attachments(pdf) from attched email(.msg) in the email , so email - email - pdf
also pdf attachemtns from email ?
and then I need to apply regex to get the list of all the dates , get the latest date save it in a variable .
I have seen all the posts around it :
and many links are here as well
How to save perticular file from outlook, when the attachments contains multiple files…