Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > net/imapライブラリ > Net::IMAPクラス > uid_thread

instance method Net::IMAP#uid_thread

uid_thread(algorithm, search_keys, charset) -> [Net::IMAP::ThreadMember]

THREADコマンドを送り、メールボックスを検索した結果を スレッド形式の木構造で返します。

ほぼ Net::IMAP#thread と同じですが、返ってくるオブジェクトの Net::IMAP::ThreadMember#seqno の内容が message sequence number ではなく UID となります。

[PARAM] algorithm:
スレッド構造構築アルゴリズム名(文字列)
[PARAM] search_key:
検索条件(文字列配列)
[PARAM] charset:
検索条件の解釈に用いるCHARSET名(文字列)

[SEE_ALSO] Net::IMAP::ThreadMember, Net::IMAP#thread

class Net::IMAP