arano.jon
(Arano Jon)
1
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:
I cant mark “onlyunreadmessages” property because the second email must be read.
here in the property panel u can write it as Top 2
arano.jon
(Arano Jon)
3
Yes, I have written 2, but now I want to check that the first is unread and the second read
arano.jon
(Arano Jon)
6
The problem I have is that I want to introduce it inside a check true activity…
I need something similar to “isread” or something…something that is “true” or “false”…
ppr
(Peter Preuss)
7
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
arano.jon
(Arano Jon)
8
Nice idea…how would you remove ListU items from ListA?
Thanks!
ppr
(Peter Preuss)
9
Give a try
ListRead = ListA.Except(ListU).toList()
arano.jon
(Arano Jon)
10
Nice!
Thank you very much for your help!
I mark your post as solution!
system
(system)
Closed
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.