るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.036秒)

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. kernel p
  5. rsa p

クラス

キーワード

検索結果

Net::POP3#n_bytes -> Integer (9104.0)

サーバにあるメールの総バイト数を返します。

...ルの総バイト数を返します。

@see Net::POP3#n_mails
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不...

Net::POP3#set_debug_output(f) -> () (6115.0)

デバッグ用の出力 f をセットします。

...'net/pop'

p
op = Net::POP3.new('pop.example.com', 110)
p
op.set_debug_output $stderr
p
op.start('YourAccount', 'YourPassword') {
p
pop.n_bytes
}

実行結果:

P
OP session started: pop.example.com:110 (POP)
-> "+OK popd <1162042773.26346.155555a1861c@pop.example.com>\r\n"
<- "APOP...

Net::POP3#n_mails -> Integer (3009.0)

サーバにあるメールの数を返します。

...あるメールの数を返します。

@see Net::POP3#n_bytes
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不...