Server IP : 66.29.132.122 / Your IP : 3.15.192.137 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Net/IMAP/ |
Upload File : |
--- !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