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().
| 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() |
|
There are no comments posted at this time.
* 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.