Get all emails in folder - (Top field is restricting)

email
outlook
activities

#1

Hi,
Can any one guide on how to get handle of all emails in a specific folder. Using “Top” field in activity “Get outlook Mail message” is restricting the number of results.
Basically i have a outlook folder which may have 10 or 50 or 100 emails which i dont know. i would like to process all the emails in the folder.

I searched the forum but don’t find pointer for this simple subject.


#2

Hello @skswain,

Maybe this template ReadAllMails.xaml (10.3 KB)

could help :

AllMails

It is a version of:

Regards,
Susana


#3

Hi @skswain

Or you can set the Top option Int32.MaxValue. It will retrieve a maximum of 2,147,483,647 emails.


#4

Thanks…it works…
where can i find these tips and tricks


#5

Um… i just use Google for most of them :blush: :smile:


#6

Thought I should share this with you. Found another trick to retrieve all messages: enter a negative value to the Top option :slight_smile: