GetIMAPError (open)

This function will check and clear the last error that occured (if any)

Syntax

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

STRING FUNCTION GetIMAPError(INTEGER connectionid)

Parameters

INTEGER connectionid

ID of the connection

Return value

STRING

String with the error message (can be a multiline message separated by \n's)