my mail subject is “JWO Filles” and will always have 2 attachments.
my requirement is when mail will come in mailbox automation should downlaod 2 attahcments in folder.
how can i achieve that?
when i am draging get outlook mail activity i cant see any configuration to do
see below image-
You can achieve this using Get Outlook Mail Messages along with Save Attachments.
First, use Get Outlook Mail Messages and set the filter to "[Subject] = 'JWO Filles'" to fetch the required emails. You can configure this in the Properties panel (as shown on the right side). Then, loop through the retrieved emails using a For Each MailMessage activity. Inside the loop, use Save Attachments, pass the CurrentMailMessage, and provide your target folder path.
Optionally, you can add a condition to check CurrentMailMessage.Attachments.Count = 2 to ensure only emails with two attachments are processed.
If this helps, please consider marking it as a solution so it can help others as well.
how to defind folder path ?
getting error
take ex i have to save in thois path -"C:\Users\kmathkar\OneDrive\Desktop\All Files\My data\New automation\Jira Workorders\Automation Files
is you have used use application /browser and put everything in it?
and indicated outlook app?
i cant seee u have created variable out_mails in get outlook desktop mail message activity