IMAPSimpleSearch (open)

This function will search for a string inside message headers and bodies

Syntax

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

INTEGER ARRAY FUNCTION IMAPSimpleSearch(INTEGER connectionid, STRING mailfolder, STRING ARRAY searchphrases)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING mailfolder

The folder of to get the emaillisting from

STRING ARRAY searchphrases

Return value

INTEGER ARRAY

INTEGER ARRAY containing the UIDs of the found messages