PDF want to download from specific email Id

Hello all, here I Want to download the PDF from some specific Email ID . I have list of those Email Id . How can I use this condition in IF condition to download pDf .
Please help.

1 Like

Hi Bhargavi,

When iterating over the mail messages obtained from Outlook (‘MailMessage’ collection items) you can use ‘MailMessage.From’ which is a String variable containing the email address of the sender to check if it is equal to one of the email ID in your list.

Hope this helps.
Sruthi YNM

Hi Bhargavi,
Use the filter property from Get mail messages use this link to learn more Get Outlook Mail Messages