Legkazuko
(Legkazuko)
September 10, 2020, 10:11am
1
I would like to move mails after receiving 30 days to some certain folders. Mail server has a restrictions, i can’t use outlook folder clean up.
I appreciate your advise.
1996
(Neelima G)
September 10, 2020, 1:17pm
2
Hi @Legkazuko ,
Welcome to UiPath!
Check below links it might helps.
Hi all, I want to move an outlook mail to a specific folder but the mail message is in string therefore I got the error: "Value of type string cannot be converted to system.mail.mail message.
Please how do I convert the string message format(text file) to system.mail.mail message
Great
So once after getting the mail list from Get Outlook or any other mail getting activity with a variable of type list of mailmessage named list_mails
Now use a FOR EACH loop and pass the above variable list_mails as input and change the type argument as System.Net.Mail.Mailmessage in the property panel of For each loop
—inside the loop use a IF condition like this
item.From.Address.ToString.Contains(“xyz@gmail.com”)
If true it will go to THEN part or goes to ELSE part where inside the …
Thanks,
Neelima.
Legkazuko
(Legkazuko)
September 14, 2020, 1:17am
3
Dear Junior Robot
I would like to set conditions after receiving 30days mails. I understood and loop and Moving Methods.
Thank you