SetIMAPMailBoxSubscriptionStatus (open)

This function will changed the subscribed status of a mail folder

Syntax

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

BOOLEAN FUNCTION SetIMAPMailBoxSubscriptionStatus(INTEGER connectionid, STRING mailfolder, BOOLEAN subscribed)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING mailfolder

Name of the mail folder

BOOLEAN subscribed

New subscribed status of the folder

Return value

BOOLEAN