O365 Activity help

Hi everyone, I am not winning on this activity please help…I am trying to categorize emails according to color and renaming them when I move them into a folder.
image

I am using O365 scope but I need assistance here:
image

What else should I put here, I see Email ID and Query, do I put anything there:

I am receiving an error here

Anyone who can give me clear explanation on how to do this please I can’t find anything on the document. Thank you.

@Anelisa_Bolosha1

Listmaessages is a list of o365messages…you need to use a for loop and inside that use currentitem in the set mail category activity and in for loop pass the listmessages

or use listmessage(0) to get the first mail and pass

cheers

Hi @Anil_G


It gives me this error :weary:,

Just a question…can this not be accomplished using outlook,because we are struggling with O365

@Anelisa_Bolosha1

you are on older version…in for loop change type argument to Office365message

unfortunately under outlook you dont have set category activity

cheers

Okay thank you that solved my errors,

So now when I was running the bot there was a pop-up of office 365 for me to log in and accept UiPath trying to connect to it…so i did.
But now gives back this runtime error below


‘Mycomplaint’ is the mail folder account I am reading emails from

@Anelisa_Bolosha1

Looks like account you provided is wrong

Cheers

image
This is the structure of my mailboxes…the one with the error when I tested with it it worked well and categorized the emails but issue is the one I want to use is this:
image

When I expand it, I want to be able to use this folder inside of it
image

@Anelisa_Bolosha1

This does not work like outlook where youc an access shared mailbox usign folder

In account try shared mail box directly

Cheers

Hi how would I find it, is the shared mailbox an activity?

@Anelisa_Bolosha1

No the mail box mycomplaint should have an email id associated right…that is what is to be used

So basicaly in account you have to fill the shared mailbox email id and in folder you can give inbox if you need to get the mails from sharwd mailbox inbox folder

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.