D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Net
/
IMAP
/
Filename :
sort-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a SORT command to sort messages in the mailbox. Returns an array of message sequence numbers. For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.sort(["FROM"], ["ALL"], "US-ASCII")\n #=> [1, 2, 3, 5, 6, 7, 8, 4, 9]\n p imap.sort(["DATE"], ["SUBJECT", "hello"], "US-ASCII")\n #=> [6, 7, 8, 1]\n" - !ruby/struct:SM::Flow::P body: See [SORT-THREAD-EXT] for more details. full_name: Net::IMAP#sort is_singleton: false name: sort params: (sort_keys, search_keys, charset) visibility: public