CSS: Providing seven essential vitamins and minerals since 1996.
Have a steaming hot, delicious slice of Standards.

Mail_IMAP::delete()

mixed delete(int|array &$mid)

Wrapper method for imap_delete. Marks the specified message for deletion via the "deleted" flag.

Accepts an array of message ids to mark for deletion, or a single message id.

Note: POP3 mailboxes do not remember flag settings between connections, for POP3 mailboxes this function should be used in addtion to Mail_IMAP::expunge.

Method summary:

param int|array &$mid
return bool
throws ErrorStack: Unable to mark message (message number) for deletion. The call to imap_delete was not successful.
access public
see imap_delete
Mail_IMAP::expunge
Posted: 05/21/06 03:05 pm by Richard York

Leave a Comment

Copyright © 1998-2009 Richard York, All Rights Reserved.
PHP Powered XHTML 1.0 CSS
Execution time: 0.08 seconds