DeleteIMAPEmail (open)

This function will delete an email

Syntax

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

BOOLEAN FUNCTION DeleteIMAPEmail(INTEGER connectionid, STRING mailbox, INTEGER uid)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING mailbox
INTEGER uid

Return value

BOOLEAN

boolean Indicating if the email was deleted succesfully