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 connectionidID of the connection (opened by OpenIMAPAccount)
STRING mailfolderThe folder of to get the emaillisting from
STRING ARRAY searchphrasesReturn value
INTEGER ARRAYINTEGER ARRAY containing the UIDs of the found messages