IMAP_EXPUNGE
Removes the messages of the selected folder that have the flag \Deleted, and returns how many.
Parameters and results
serverSTRUCT c0de_net/mail/IMAP_SERVER: the server with the selected folder- result
resultINTEGER: the number of removed messages
Example
c0de
CALL c0de_net/mail/IMAP_EXPUNGE
PARAMETER server imap ;
RESULT result removed