Smiling Souls

Steeped in the delicious tea like leaves of anthroposophy for the evolving soul.

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 Error: Unable to mark message (message number) for deletion. The call to imap_delete() was not successful.
access public
see imap_delete()
Mail_IMAP::expunge()

Comments

There are no comments posted at this time.

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.

* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.

Comments are closed at this time.

© Copyright 2014 Hot Toddy, All Rights Reserved.