11件ヒット
[1-11件を表示]
(0.047秒)
検索結果
-
Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer] (18225.0) -
UID SEARCH コマンドを送り、条件に合うメッセージの UID を配列で返します。
...。
詳しくは 2060 の 6.4.4 を見てください。
例:
p imap.uid_search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.uid_search(["SUBJECT", "hello", "FROM", "foo@example.com"])
#=> [6, 7]
p imap.uid_search('SUBJECT "hello"')
#=> [1, 6, 7, 8]
@param key 検索キー(文字列......の配列もしくは文字列)
@param charset 検索に用いるcharset
@see Net::IMAP#uid_search...