Smiling Souls

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

Mail_IMAP::setFlags()

bool setFlags(array $mids, array $flags[, str $action = 'set'])

Sets or clears flags using imap_setflag_full() or imap_clearflag_full().

Accepts an array of message ids in the $mids argument and an array of flags to set on those messages in the $flags argument. The $action argument may be one of set|clear and it's used to toggle between imap_setflag_full() and imap_clearflag_full().

Method summary:

param array $mids See above.
param array $flags See above.
param str $action (optional) See above.
return bool
throws Error: Invalid action. The $action argument must be one of 'set' or 'clear'.
access public
see imap_setflag_full()
imap_clearflag_full()

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.