Method: Net::IMAP#thread
- Defined in:
- lib/net/imap.rb
#thread(algorithm, search_keys, charset) ⇒ Object
Similar to #search(), but returns message sequence numbers in threaded format, as a Net::IMAP::ThreadMember tree. The supported algorithms are:
- ORDEREDSUBJECT
-
split into single-level threads according to subject, ordered by date.
- REFERENCES
-
split into threads by parent/child relationships determined by which message is a reply to which.
Unlike #search(), charset is a required argument. US-ASCII and UTF-8 are sample values.
See [SORT-THREAD-EXT] for more details.
908 909 910 |
# File 'lib/net/imap.rb', line 908 def thread(algorithm, search_keys, charset) return thread_internal("THREAD", algorithm, search_keys, charset) end |