May 13, 2023, 7:01pm
Using get outlook I have filtered the mail with subject “attended” and now i want to mark the Flag for each attended mail and move to attended folder in the inbox. here i can filter and i can move the mail to folder , but i dont know how to flag each mail,
Can anyone help me how to Flag the mail … screenshot for example
May 13, 2023, 7:34pm
To flag each mail with the subject “attended” and move them to the “attended” folder in your Outlook inbox using UiPath, you can follow these steps:
Use the “Get Outlook Mail Messages” activity to retrieve all the emails with the subject “attended”. This activity will give you a list of mail messages.
Use a “For Each” loop activity to iterate through each mail message in the list.
Within the loop, use the “Invoke Method” activity to flag the mail message. Set the following properties:
mailMessage (the variable representing the current mail message)
2 (integer value for setting the flag)This will flag the mail message.
Next, use the “Move Outlook Mail Message” activity to move the flagged mail message to the “attended” folder.
May 13, 2023, 8:04pm
Thank you for your reply but
i am getting below error i dont know what mistake i did…