Get Exchange mail Error


#1

So this issue is specific for get exchange mail. What happens is, the activity is only getting first listed mails. For example, when I mark in properties Top 5 with options - MarkAsRead and OnlyUnreadMessage.

Expected: - Activity is expected to fetch top 5 un-read messages and mark them read.

Actual: - It only access the top 5 messages in the list (irrespective of read or not read).

Scenario

I have 10 mails listed - top four is read, rest are unread with subject line 1,2,3…10

When I run get exchange mail with option OnlyUnreadMessages - it should fetch me

5,6,7,8 and 9.

But now this is only returning 5 (its just reading first 5, even when I say onlyUnreadMessages.

Get Mail for outlook works perfectly fine.


#2

Could you also add Studio (and Mail package) versions?
Exchange version might help as well.

Side question - what happens if there is no UnreadMessages in the Top 5? Does it return anything?

Outlook version might’ve been fixed after this (possibly related):


#3

The UIpath version I am using is : 2016.2.6274 and I am not sure about the exchange version (sorry about that).

on your side question - if I don’t have any Unread Messages in Top 5, I don’t get any mail

Let me know if you need any further information.