48件ヒット
[1-48件を表示]
(0.038秒)
種類
- インスタンスメソッド (24)
- ライブラリ (12)
- 文書 (12)
ライブラリ
-
net
/ imap (24)
クラス
-
Net
:: IMAP (24)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (12) - authenticate (12)
- login (12)
検索結果
先頭4件
-
net
/ imap (38036.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(["RECENT"]).each do |message_id|
envelope = imap.fet......のメールをすべて 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('M......安全性
Net::IMAP は並列実行をサポートしています。例として、
require '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_res... -
Net
:: IMAP # authenticate(auth _ type , user , password) -> Net :: IMAP :: TaggedResponse (8113.0) -
AUTHENTICATE コマンドを送り、クライアントを認証します。
...imap.authenticate('LOGIN', user, password)
auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRAM-MD5"
* "DIGEST-MD5"
@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Net... -
Net
:: IMAP # login(user , password) -> Net :: IMAP :: TaggedResponse (8107.0) -
LOGIN コマンドを送り、平文でパスワードを送りクライアント ユーザを認証します。
...認証成功レスポンスを返り値として返します。
認証失敗時には例外が発生します。
@param user ユーザ名文字列
@param password パスワード文字列
@raise Net::IMAP::NoResponseError 認証に失敗した場合に発生します
@see Net::IMAP#authenticate... -
NEWS for Ruby 2
. 0 . 0 (18.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...追加: Net::HTTP#local_port
* 追加: Net::HTTP#local_port=
* 拡張: Net::HTTP#connect uses local_host and local_port if specified.
* net/imap
* 追加: Net::IMAP.default_port
* 追加: Net::IMAP.default_imap_port
* 追加: Net::IMAP.default_tls_port
* 追加: Net::IMAP.......ntermeasure for
the BEAST attack by default.
* OpenSSL requires passwords for decrypting PEM-encoded files to be at least
four characters long. This led to awkward situations where an export with
a password with fewer than four characters was possible, but accessing the
f......L::PKey::RSA, OpenSSL::PKey::DSA and
OpenSSL::PKey::EC therefore now enforce the same check when exporting a
private key to PEM with a password - it has to be at least four characters
long.
* SSL/TLS support for the Next Protocol Negotiation extension. Supported
with Open...