るりまサーチ

最速Rubyリファレンスマニュアル検索!
2108件ヒット [201-300件を表示] (0.053秒)
トップページ > クエリ:-[x] > ライブラリ:net/imap[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

Net::IMAP::BodyTypeText#description -> String | nil (118.0)

Content-Description の値を文字列で返します。

...Content-Description の値を文字列で返します。

@see 2045...

Net::IMAP::BodyTypeText#disposition -> Net::IMAP::ContentDisposition | nil (118.0)

Content-Dispotition の値を返します。

...Content-Dispotition の値を返します。

Net::IMAP::ContentDisposition オブジェクトを返します。

@see 1806, 2183...

Net::IMAP::ContentDisposition#dsp_type -> String (118.0)

Content-Disposition フィールドのタイプを文字列で返します。

...Content-Disposition フィールドのタイプを文字列で返します。

"INLINE", "ATTACHMENT" などの文字列を返します。

詳しくは 2183 などを見てください。...

Net::IMAP::Envelope#reply_to -> [Net::IMAP::Address] | nil (118.0)

Reply-To を Net::IMAP::Address オブジェクトの配列で返します。

...Reply-To を Net::IMAP::Address オブジェクトの配列で返します。

エンベロープに存在しないときは nil を返します。...

Net::IMAP#authenticate(auth_type, user, password) -> Net::IMAP::TaggedResponse (114.0)

AUTHENTICATE コマンドを送り、クライアントを認証します。

...map.authenticate('LOGIN', user, password)

auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRAM-MD5"
* "DIGEST-MD5"

@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Net::IM...

絞り込み条件を変える

Net::IMAP#fetch(set, attr) -> [Net::IMAP::FetchData] (114.0)

FETCH コマンドを送り、メールボックス内のメッセージに 関するデータを取得します。

..._fetch(98, ["RFC822.SIZE", "INTERNALDATE"])[0]
p data.seqno
#=> 6
p data.attr["RFC822.SIZE"]
#=> 611
p data.attr["INTERNALDATE"]
#=> "12-Oct-2000 22:40:59 +0900"
p data.attr["UID"]
#=> 98

@param set 処理対象のメッセージの sequence number
@param attr アトリビュート(...

Net::IMAP#sort(sort_keys, search_keys, charset) -> [Integer] (114.0)

SORT コマンド送り、メールボックス内の メッセージをソートした結果を返します。

...り値は message sequence number の配列を返します。

例:
p imap.sort(["FROM"], ["ALL"], "US-ASCII")
#=> [1, 2, 3, 5, 6, 7, 8, 4, 9]
p imap.sort(["DATE"], ["SUBJECT", "hello"], "US-ASCII")
#=> [6, 7, 8, 1]
@param sort_key ソート順のキー(文字列配列)
@param search_key 検...

Net::IMAP#uid_sort(sort_keys, search_keys, charset) -> [Integer] (114.0)

SORT コマンド送り、メールボックス内の メッセージをソートした結果を返します。

...り値は message sequence number の配列を返します。

例:
p imap.sort(["FROM"], ["ALL"], "US-ASCII")
#=> [1, 2, 3, 5, 6, 7, 8, 4, 9]
p imap.sort(["DATE"], ["SUBJECT", "hello"], "US-ASCII")
#=> [6, 7, 8, 1]
@param sort_key ソート順のキー(文字列配列)
@param search_key 検...

Net::IMAP.format_date(time) -> String (114.0)

時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。

...時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。

require 'net/imap'

Net::IMAP.format_date(Time.new(2011, 6, 20))
# => "20-Jun-2011"

@param time 変換する時刻オブジェクト...
<< < 1 2 3 4 5 ... > >>