るりまサーチ

最速Rubyリファレンスマニュアル検索!
2492件ヒット [1-100件を表示] (0.077秒)
トップページ > クエリ:p[x] > クエリ:net/imap[x]

別のキーワード

  1. net/smtp start
  2. net/imap name
  3. net/imap param
  4. net/http get
  5. net/imap data

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

net/imap (44018.0)

このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。

...net Message Access Protocol (IMAP) の
クライアントライブラリです。2060 を元に
実装されています。

=== IMAP の概要

IMAPを利用するには、まずサーバに接続し、
Net::IMAP#authenticate もしくは
Net::IMAP#login で認証します。
IMAP ではメール...
...実装されることが多いです。

メールボックス内のメッセージ(メール)を処理する場合、
まず Net::IMAP#select もしくは
Net::IMAP#examine で処理対象のメールボックスを
指定する必要があります。これらの操作が成功したならば、...
...IMAP を使わないメールアプリケーションがメールの順番を
変えてしまった場合は、UID が振り直されます。

=== 例

デフォルトのメールボックス(INBOX)の送り元とサブジェクトを表示する。
require 'net/imap'

imap = Net::IMAP.new('ma...

Net::IMAP::ResponseError#response -> Net::IMAP::TaggedResponse | Net::IMAP::UntaggedResponse (14300.0)

エラーとなったレスポンスを表すオブジェクトを返します。

エラーとなったレスポンスを表すオブジェクトを返します。

Net::IMAP::BodyTypeBasic#disposition -> Net::IMAP::ContentDisposition | nil (14200.0)

Content-Dispotition の値を返します。

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

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

@see 1806, 2183...

Net::IMAP::BodyTypeMessage#disposition -> Net::IMAP::ContentDisposition | nil (14200.0)

Content-Dispotition の値を返します。

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

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

@see 1806, 2183...

Net::IMAP::BodyTypeMessage#envelope -> Net::IMAP::Envelpe | nil (14200.0)

メッセージのエンベロープを返します。

メッセージのエンベロープを返します。

絞り込み条件を変える

Net::IMAP::BodyTypeMultipart#disposition -> Net::IMAP::ContentDisposition | nil (14200.0)

Content-Dispotition の値を返します。

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

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

@see 1806, 2183...

Net::IMAP::BodyTypeMultipart#parts -> [Net::IMAP::BodyTypeBasic | Net::IMAP::BodyTypeText | Net::IMAP::BodyTypeMessage | Net::IMAP::BodyTypeMultipart] (14200.0)

マルチパートの各部分を返します。

マルチパートの各部分を返します。

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

Content-Dispotition の値を返します。

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

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

@see 1806, 2183...

Net::IMAP#responses -> { String => [object] } (14112.0)

サーバから送られてきた untagged な応答の記録を返します。

...なります。
そして各種類ごとに配列が用意され、untagged な応答を受信するたびに
その配列の末尾にその内容が記録されます。


例:
imap.select("inbox")
p
imap.responses["EXISTS"].last
#=> 2
p
imap.responses["UIDVALIDITY"].last
#=> 968263756...
<< 1 2 3 ... > >>