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

Leave a Comment

Simple HTML is allowed: <code>, <b>, <i>, <u>, <var>, <strong>, <em>, <blockquote>, <ul>, <ol>, <li>, <p> (no attributes). All spacing and line breaks in your comment will be preserved.

PHP Powered XHTML 1.0 CSS
Copyright © 1998-2012 Richard York, All Rights Reserved.