55件ヒット
[1-55件を表示]
(0.073秒)
種類
- インスタンスメソッド (44)
- ライブラリ (11)
ライブラリ
-
net
/ imap (44)
クラス
-
Net
:: IMAP (11) -
Net
:: IMAP :: BodyTypeBasic (11) -
Net
:: IMAP :: BodyTypeMessage (11) -
Net
:: IMAP :: BodyTypeText (11)
検索結果
先頭5件
-
net
/ imap (38144.0) -
このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。
...振り直されます。
=== 例
デフォルトのメールボックス(INBOX)の送り元とサブジェクトを表示する。
require 'net/imap'
imap = Net::IMAP.new('mail.example.com')
imap.authenticate('LOGIN', 'joe_user', 'joes_password')
imap.examine('INBOX')
imap.search(["RECE......て Mail/sent-mail から "Mail/sent-apr03" へ移動させる
require 'net/imap'
imap = Net::IMAP.new('mail.example.com')
imap.authenticate('LOGIN', 'joe_user', 'joes_password')
imap.select('Mail/sent-mail')
if not imap.list('Mail/', 'sent-apr03')
imap.create('Mail/sent-apr03')
en......"Mail/sent-apr03")
imap.store(message_id, "+FLAGS", [:Deleted])
end
imap.expunge
=== スレッド安全性
Net::IMAP は並列実行をサポートしています。例として、
require 'net/imap'
imap = Net::IMAP.new("imap.foo.net", "imap2")
imap.authenticate("cram-md5", "bar",... -
Net
:: IMAP :: BodyTypeBasic # md5 -> String | nil (26217.0) -
ボディの MD5 値を文字列で返します。
...ボディの MD5 値を文字列で返します。... -
Net
:: IMAP :: BodyTypeMessage # md5 -> String | nil (26217.0) -
ボディの MD5 値を文字列で返します。
...ボディの MD5 値を文字列で返します。... -
Net
:: IMAP :: BodyTypeText # md5 -> String | nil (26217.0) -
ボディの MD5 値を文字列で返します。
...ボディの MD5 値を文字列で返します。... -
Net
:: IMAP # authenticate(auth _ type , user , password) -> Net :: IMAP :: TaggedResponse (8124.0) -
AUTHENTICATE コマンドを送り、クライアントを認証します。
...ap.authenticate('LOGIN', user, password)
auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRAM-MD5"
* "DIGEST-MD5"
@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Net::IMA...