3件ヒット
[1-3件を表示]
(0.100秒)
クラス
-
Net
:: POP3 (3)
キーワード
-
n
_ bytes (1) -
n
_ mails (1) -
set
_ debug _ output (1)
検索結果
-
Net
:: POP3 # n _ bytes -> Integer (36913.0) -
サーバにあるメールの総バイト数を返します。
サーバにあるメールの総バイト数を返します。
@see Net::POP3#n_mails
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します -
Net
:: POP3 # set _ debug _ output(f) -> () (18328.0) -
デバッグ用の出力 f をセットします。
...使わないでください。
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
}... -
Net
:: POP3 # n _ mails -> Integer (9328.0) -
サーバにあるメールの数を返します。
サーバにあるメールの数を返します。
@see Net::POP3#n_bytes
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します