The entire list of the currently defined IMAP4 search keys:Ĭorresponding to the specified message sequence number set. This is true for all IMAP keys which search for text (such as BODY, CC, FROM, SUBJECT, TEXT, TO). Or, when searching for non-English text, set charset to "UTF-8" and instead of ToQuotedString(String) use ToUtf8QuotedString(String) When passing strings to search query, you should use the syntax like "TEXT " + ImapUtils.ToQuotedString(textToSearch) to enclose the text string in quotes. A search key can also be a parenthesized list of one or more search keys (e.g., for use with the OR and NOT keys).ĪllOf( String ) (AND), AnyOf( String ) (OR), Not(String) (NOT) methods simplify building complex queries. The criteria DELETED FROM "SMITH" SINCE refers to all deleted messages from Smith that were placed in the folder When multiple keys are specified, the result is the intersection (AND function) of all the messages that match those keys. MailBee simply passes this value to the server without alteration. If searchCondition is specified, it must strictly match search expression rules defined by the IMAP4 protocol (RFC3501). Or to MessageNumberCollection (if returnUids was false). The developer must type-cast returned value to UidCollection type (if returnUids was true)
0 Comments
Leave a Reply. |