Search for text in either the entire message, or just the body.
public text ( string $text, string $bodyonly = true, boolean $not = false, array $opts = [] ) | ||
$text | string | The search text. |
$bodyonly | string | If true, only search in the body of the message. If false, also search in the headers. |
$not | boolean | If true, do a 'NOT' search of $text. |
$opts | array | Additional options: - fuzzy: (boolean) If true, perform a fuzzy search. The IMAP server MUST support RFC 6203. |