るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.047秒)
トップページ > クエリ:-[x] > クエリ:chars[x] > クエリ:uid_search[x]

別のキーワード

  1. _builtin chars
  2. stringio chars
  3. string chars
  4. io chars
  5. argf.class chars

ライブラリ

クラス

検索結果

Net::IMAP#uid_search(keys, charset = nil) -> [Integer] (18325.0)

UID SEARCH コマンドを送り、条件に合うメッセージの UID を配列で返します。

...p.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...