84件ヒット
[1-84件を表示]
(0.101秒)
別のキーワード
ライブラリ
-
net
/ pop (84)
キーワード
- address (12)
-
n
_ bytes (12) -
n
_ mails (12) -
open
_ timeout (12) - port (12)
-
read
_ timeout (12) -
set
_ debug _ output (12)
検索結果
先頭5件
-
Net
:: POP3 # set _ debug _ output(f) -> () (6102.0) -
デバッグ用の出力 f をセットします。
...メソッドを持っているオブジェクトでなければなりません。
使用例:
require 'net/pop'
pop = Net::POP3.new('pop.example.com', 110)
pop.set_debug_output $stderr
pop.start('YourAccount', 'YourPassword') {
p pop.n_bytes
}
実行結果:
POP session started: p... -
Net
:: POP3 # address -> String (102.0) -
接続するアドレスです。
接続するアドレスです。 -
Net
:: POP3 # n _ bytes -> Integer (102.0) -
サーバにあるメールの総バイト数を返します。
...サーバにあるメールの総バイト数を返します。
@see Net::POP3#n_mails
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答... -
Net
:: POP3 # n _ mails -> Integer (102.0) -
サーバにあるメールの数を返します。
...サーバにあるメールの数を返します。
@see Net::POP3#n_bytes
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロト... -
Net
:: POP3 # open _ timeout -> Integer (102.0) -
接続時に待つ最大秒数を返します。
...接続時に待つ最大秒数を返します。
この秒数たってもコネクションが開かないときは例外 Net::OpenTimeout を発生します。
デフォルトは30秒です。
@see Net::POP3#open_timeout=... -
Net
:: POP3 # port -> Integer (102.0) -
接続するポート番号です。
接続するポート番号です。 -
Net
:: POP3 # read _ timeout -> Integer (102.0) -
読み込みでブロックしてよい最大秒数を返します。
...読み込みでブロックしてよい最大秒数を返します。
この秒数たっても読みこめなければ例外 ReadTimeout を発生します。
デフォルトは60秒です。
@see Net::POP3#read_timeout=...