Read property in list mailmessage email

Hello,
I am reading 2 emails in Get oultook mail message

The first email is unread and the second email is read

How can I check that the first mail is unread?

I cant find a property “read” or something similar:

image

I cant mark “onlyunreadmessages” property because the second email must be read.

image
here in the property panel u can write it as Top 2

Yes, I have written 2, but now I want to check that the first is unread and the second read

Hi @arano.jon

How to get outlook emails which are ‘read’ - Help / Studio - UiPath Community Forum
Refer this thread

The problem I have is that I want to introduce it inside a check true activity…

image

I need something similar to “isread” or something…something that is “true” or “false”…

MailMessage does not offer a property like:

For Legacy we had a Package from MArketplace, which converted a MailMessage to a MailItem. But was not ported to Windows

A Workaround could be:

Fetch all mails in a list - ListA
Fetch all Unread Mailmessages - ListU
(Ensure from both, do not enable Mark as read)

Afterwards, remove ListU items from ListA

Nice idea…how would you remove ListU items from ListA?

Thanks!

Give a try
ListRead = ListA.Except(ListU).toList()

Nice!
Thank you very much for your help!
I mark your post as solution!

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