How to read mail from outlook in reverse


#1

Hi all,
Can any one help me in reading all unread mail in reveres direction i.e(bottom to top)


#2

Hey @preethi

You can get first all unread email by using Get outlook Mail activity with unread checkbox property checked then you can count the result and then fire a iteration or loop with reverse counter :slight_smile:

Regards…!!
AKsh


#3

how ?? example please


#4

you will have the list of mails now,

call mails.Reverse function to reverse the list.


#5


#6

like this

use foreach after this invoke method


Get Exchange Mail Message read just 1 unread mail
#7

Thank you :slightly_smiling_face: