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

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 ErrorStack: Argument requires array. Both the $mids argument and $flags argument must be arrays.
throws ErrorStack: Invalid action. The $action argument must be one of 'set' or 'clear'.
access public
see imap_setflag_full
imap_clearflag_full

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.