Instead of using the CL_EXPUNGE FLAG,
you can also use the imap_expunge function to delete all the messages marked for deletion, before calling the imap_close function.
imap_closeDescriptionbool imap_close ( resource imap_stream [, int flag] )Closes the imap stream. Takes an optional flag CL_EXPUNGE, which will silently expunge the mailbox before closing, removing all messages marked for deletion. See also: imap_open().
add a note
User Contributed Notes
vhegde at myersinternet dot com
29-Aug-2001 05:48
Instead of using the CL_EXPUNGE FLAG,
| ||