c0de net 0.4.0Diese Seite auf Deutsch

IMAP_EXPUNGE ​

Removes the messages of the selected folder that have the flag \Deleted, and returns how many.

Parameters and results

  • server STRUCT c0de_net/mail/IMAP_SERVER: the server with the selected folder
  • result result INTEGER: the number of removed messages

Example

c0de
CALL c0de_net/mail/IMAP_EXPUNGE
    PARAMETER server imap ;
    RESULT result removed

Used in the tutorials ​