diff --git a/functions/imap.xml b/functions/imap.xml index 11570a6246..f71be1836b 100644 --- a/functions/imap.xml +++ b/functions/imap.xml @@ -1,5 +1,5 @@ - + IMAP, POP3 and NNTP functions IMAP @@ -530,8 +530,8 @@ imap_close($mbox); Returns &true;. - imap_delete function marks message pointed - by msg_number for deletion. The optional + imap_delete marks messages listed + in msg_number for deletion. The optional flags parameter only has a single option, FT_UID, which tells the function to treat the msg_number argument as a @@ -541,6 +541,14 @@ imap_close($mbox); imap_close is called with the optional parameter CL_EXPUNGE. + + + POP3 mailboxes do not have their message flags saved between + connections, so imap_expunge must be called during + the same connection in order for messages marked for deletion to + actually be purged. + + <function>imap_delete</function> Beispiel