るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.008秒)
トップページ > クエリ:puts[x] > クラス:Net::POP3[x]

別のキーワード

  1. _builtin puts
  2. csv puts
  3. stringio puts
  4. io puts
  5. xmp puts

ライブラリ

検索結果

Net::POP3.delete_all(address, port = nil, account, password, isapop=false) -> () (7.0)

POP セッションを開始し、サーバ上のメールを全て消去します。

...適当なポート(通常は110、SSL利用時には 995)を
使います。

使用例:

require 'net/pop'

Net::POP3
.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts
m.pop
end

@param address POP3サーバのホスト名文字列
@param port 接続するPOP3サーバの...
...ていない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3.start, Net::POP3#delete_all...

Net::POP3.delete_all(address, port = nil, account, password, isapop=false) {|mail| .... } -> () (7.0)

POP セッションを開始し、サーバ上のメールを全て消去します。

...適当なポート(通常は110、SSL利用時には 995)を
使います。

使用例:

require 'net/pop'

Net::POP3
.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts
m.pop
end

@param address POP3サーバのホスト名文字列
@param port 接続するPOP3サーバの...
...ていない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3.start, Net::POP3#delete_all...