Search for a flag/keywords.
public flag ( string $name, boolean $set = true, array $opts = [] ) | ||
$name | string | The flag or keyword name. |
$set | boolean | If true, search for messages that have the flag set. If false, search for messages that do not have the flag set. |
$opts | array | Additional options: - fuzzy: (boolean) If true, perform a fuzzy search. The IMAP server MUST support RFC 6203. |