I am trying to download attachments from emails received from specific sender, but I want to run the robot monthly and save the attachments in folders with month`s name.
I have these 2 issues:
How can I specify the sender?
How can I select the period in which the robot to look for the sender`s attachments?
If you are using Get Outlook Email Activity you can Filter emails based on condition that you want.
If you are not, you need to get emails and loop them using certain condition.
Hello Srdjan! I am using a gmail account, not outlook. I can filter by sender`s name in that way, but do you have an idea on how can i filter them to download the attachments from period x?
Thank you for your time!
For. Both the cases we got a condition like this in the filter property of the get outlook mail activity
“[SenderEmailAddress] = ‘xxxx@gmail.com” AND [ReceivedTime] >= ‘ “ + Now.AddMonths(-1).ToString(“MM/dd/yyyy”) + “ ‘ AND [RecrivedTime] <= ‘ “ + Now.ToString(“MM/dd/yyyy”) + “ ‘ “
Hope this would help you
Kindly try this and let know for any queries or clarification
Cheers @Marius_Taran