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.
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
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 :