Shared Mailbox question

Hi UiPath,

On my current project, I need to tag specific emails as read.

Currently my approach is using GetOutlookMailmessage and then use For Each with System.Net.Mail.MailMessage for the Aurgument type.

My question is how can I mark email that contains only let say “THIS IS JUST A TEST” Subject line?

Hope my question makes sense.

Thanks in advance :slight_smile:

@alvin.c.apostol26,

Try this solution.

Thanks,
Ashok :slightly_smiling_face:

Is there a way to do it on Outlook? I’m using the Outlook installed in our server

Sure, if you don’t have access to the exchange server (i advise you to get it though)
you can use the outlook application:

Activities - About the Mail activity package (uipath.com)

Outlook Email Automation (uipath.com)

@alvin.c.apostol26,

Pass this string as filter to Get Outlook Mail Messages activity

[Subject] = 'THIS IS JUST A TEST'"

This will filter only emails with Subject - THIS IS JUST A TEST

After this activity, use For Each Email activity and pass the output of Get Outlook Mail Messages activity

Inside it use activity Mark Email as Read/Unread to mark these images.

Thanks,
Ashok :slight_smile: