Download email attachments only if that email contains specific number of attachments

Hi, need some help related to mail automation.
From a set of mails, i should download attachments only if that particular email contains 2 attachments.
Kindly help

Thanks in advance

Hi @Deepa_Madkar
you can use this method
if mail is the variable which represents mail item
mail.Attachments.Count will give the number of attachments in that mail

1 Like

Thank you so much…:slight_smile:

1 Like

Hi @Deepa_Madkar
Mark the appropriate answer as solution so that we can close the topic

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.