How to read mail from outlook in reverse

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

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

how ?? example please

you will have the list of mails now,

call mails.Reverse function to reverse the list.

like this

use foreach after this invoke method

1 Like

Thank you :slightly_smiling_face:

1 Like