33件ヒット
[1-33件を表示]
(0.140秒)
種類
- インスタンスメソッド (22)
- ライブラリ (11)
ライブラリ
-
net
/ imap (22)
クラス
-
Net
:: IMAP (22)
キーワード
- disconnected? (11)
-
net
/ imap (11)
検索結果
-
Net
:: IMAP # disconnect -> nil (24301.0) -
サーバとの接続を切断します。
...サーバとの接続を切断します。
@see Net::IMAP#disconnected?... -
Net
:: IMAP # disconnected? -> bool (12306.0) -
サーバとの接続が切断されていれば真を返します。
...サーバとの接続が切断されていれば真を返します。
@see Net::IMAP#disconnect... -
net
/ imap (6114.0) -
このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。
...リは Internet Message Access Protocol (IMAP) の
クライアントライブラリです。2060 を元に
実装されています。
=== IMAP の概要
IMAPを利用するには、まずサーバに接続し、
Net::IMAP#authenticate もしくは
Net::IMAP#login で認証します。
IMAP で......icate('LOGIN', 'joe_user', 'joes_password')
imap.examine('INBOX')
imap.search(["RECENT"]).each do |message_id|
envelope = imap.fetch(message_id, "ENVELOPE")[0].attr["ENVELOPE"]
puts "#{envelope.from[0].name}: \t#{envelope.subject}"
end
2003年4月のメールをすべて Mail/sent-mai......uire 'net/imap'
imap = Net::IMAP.new("imap.foo.net", "imap2")
imap.authenticate("cram-md5", "bar", "password")
imap.select("inbox")
fetch_thread = Thread.start { imap.fetch(1..-1, "UID") }
search_result = imap.search(["BODY", "hello"])
fetch_result = fetch_thread.value
imap.disconnect...