GetIMAPUidListing (open)

This function returns the UIDs of the messages in a folder

Syntax

LOADLIB "wh::internet/imap.whlib";

INTEGER ARRAY FUNCTION GetIMAPUidListing(INTEGER connectionid, STRING mailfolder, INTEGER minuid, STRING flags)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING mailfolder

The folder of to get the emaillisting from

INTEGER minuid

Miniumum id to return, default: return all

STRING flags

Return value

INTEGER ARRAY