Having an issue to retrieve emails with received date

hello everyone! I am trying to retrieve emails by month and then want to download attachments in all 12 different months. Here what I am trying to do is getting download attachments in all folders with the given name from Jan to Dec from outlook inbox emails monthly. Could anyone please suggest me how to resolve this issue?
Thanks in advance for your help…

@navneet

  1. You create a List which contains list of Months.
  2. You loop the List
  3. Inside Loop Use Get Outlook Mail Messages and add filter such that Recieved date greater than or equal to Current Month Starting date and Less than or equal to Current Month End Date.
  4. Check if any mails returned for the given filter
  5. If mails returned loop the mails and save the attachments to particular folder created with month Name

Regards,
Mahesh

thanks a lot! one thing more i wanted to ask that how to access Address for CC address in uipath there is no default property for that?

@navneet

Let us take ur having a mail message MailABC.
You can get the CC address by using CC property.

LstCC = MailABC.CC.ToList()

Try like this, it may work

Regards,
Mahesh