PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Net
/
IMAP
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a SEARCH command to search the mailbox for messages that match the given searching criteria, and returns message sequence numbers. <tt>keys</tt> can either be a string holding the entire search string, or a single-dimension array of search keywords and arguments. The following are some common search criteria; see [IMAP] section 6.4.4 for a full list. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "<message set>:" body: a set of message sequence numbers. ',' indicates an interval, ':' indicates a range. For instance, '2,10:12,15' means "2,10,11,12,15". - !ruby/struct:SM::Flow::LI label: "BEFORE <date>:" body: messages with an internal date strictly before <date>. The date argument has a format similar to 8-Aug-2002. - !ruby/struct:SM::Flow::LI label: "BODY <string>:" body: messages that contain <string> within their body. - !ruby/struct:SM::Flow::LI label: "CC <string>:" body: messages containing <string> in their CC field. - !ruby/struct:SM::Flow::LI label: "FROM <string>:" body: messages that contain <string> in their FROM field. - !ruby/struct:SM::Flow::LI label: "NEW:" body: messages with the \Recent, but not the \Seen, flag set. - !ruby/struct:SM::Flow::LI label: "NOT <search-key>:" body: negate the following search key. - !ruby/struct:SM::Flow::LI label: "OR <search-key> <search-key>:" body: ""or" two search keys together." - !ruby/struct:SM::Flow::LI label: "ON <date>:" body: messages with an internal date exactly equal to <date>, which has a format similar to 8-Aug-2002. - !ruby/struct:SM::Flow::LI label: "SINCE <date>:" body: messages with an internal date on or after <date>. - !ruby/struct:SM::Flow::LI label: "SUBJECT <string>:" body: messages with <string> in their subject. - !ruby/struct:SM::Flow::LI label: "TO <string>:" body: messages with <string> in their TO field. type: :NOTE - !ruby/struct:SM::Flow::P body: "For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.search(["SUBJECT", "hello", "NOT", "NEW"])\n #=> [1, 6, 7, 8]\n" full_name: Net::IMAP#search is_singleton: false name: search params: (keys, charset = nil) visibility: public
[+]
ResponseError
[-] remove_response_handler-i.yaml
[edit]
[+]
Error
[-] close-i.yaml
[edit]
[+]
ByeResponseError
[+]
RawData
[-] examine-i.yaml
[edit]
[+]
BodyTypeMultipart
[-] uid_store-i.yaml
[edit]
[-] u16tou8-c.yaml
[edit]
[-] fetch-i.yaml
[edit]
[-] uid_copy-i.yaml
[edit]
[-] send_quoted_string-i.yaml
[edit]
[-] send_literal-i.yaml
[edit]
[-] get_response-i.yaml
[edit]
[-] send_list_data-i.yaml
[edit]
[-] u8tou16-c.yaml
[edit]
[+]
LoginAuthenticator
[-] append-i.yaml
[edit]
[-] expunge-i.yaml
[edit]
[-] search-i.yaml
[edit]
[-] check-i.yaml
[edit]
[+]
BodyTypeMessage
[-] capability-i.yaml
[edit]
[-] rename-i.yaml
[edit]
[-] logout-i.yaml
[edit]
[-] get_tagged_response-i.yaml
[edit]
[-] debug%3d-c.yaml
[edit]
[+]
ResponseParseError
[-] uid_sort-i.yaml
[edit]
[-] uid_thread-i.yaml
[edit]
[-] add_response_handler-i.yaml
[edit]
[-] add_authenticator-c.yaml
[edit]
[-] send_symbol_data-i.yaml
[edit]
[+]
BodyTypeText
[-] encode_utf7-c.yaml
[edit]
[-] lsub-i.yaml
[edit]
[-] generate_tag-i.yaml
[edit]
[-] send_command-i.yaml
[edit]
[-] uid_fetch-i.yaml
[edit]
[-] getacl-i.yaml
[edit]
[+]
Literal
[-] getquota-i.yaml
[edit]
[-] debug-c.yaml
[edit]
[+]
NoResponseError
[-] delete-i.yaml
[edit]
[-] send_string_data-i.yaml
[edit]
[-] noop-i.yaml
[edit]
[-] send_time_data-i.yaml
[edit]
[-] record_response-i.yaml
[edit]
[+]
DataFormatError
[-] disconnect-i.yaml
[edit]
[+]
BadResponseError
[-] search_internal-i.yaml
[edit]
[-] store-i.yaml
[edit]
[-] receive_responses-i.yaml
[edit]
[-] login-i.yaml
[edit]
[-] cdesc-IMAP.yaml
[edit]
[-] setquota-i.yaml
[edit]
[-] pick_up_tagged_response-i.yaml
[edit]
[-] put_string-i.yaml
[edit]
[+]
Atom
[-] fetch_internal-i.yaml
[edit]
[+]
MessageSet
[-] disconnected%3f-i.yaml
[edit]
[+]
..
[-] copy-i.yaml
[edit]
[-] select-i.yaml
[edit]
[-] status-i.yaml
[edit]
[-] sort-i.yaml
[edit]
[-] subscribe-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] sort_internal-i.yaml
[edit]
[+]
QuotedString
[-] thread_internal-i.yaml
[edit]
[-] authenticate-i.yaml
[edit]
[+]
BodyTypeBasic
[-] create-i.yaml
[edit]
[-] getquotaroot-i.yaml
[edit]
[-] send_number_data-i.yaml
[edit]
[-] setacl-i.yaml
[edit]
[-] send_data-i.yaml
[edit]
[-] list-i.yaml
[edit]
[-] normalize_searching_criteria-i.yaml
[edit]
[-] store_internal-i.yaml
[edit]
[-] unsubscribe-i.yaml
[edit]
[+]
ResponseParser
[+]
CramMD5Authenticator
[-] copy_internal-i.yaml
[edit]
[-] thread-i.yaml
[edit]
[-] decode_utf7-c.yaml
[edit]
[-] uid_search-i.yaml
[edit]