種類
- インスタンスメソッド (396)
- 特異メソッド (198)
- クラス (66)
- ライブラリ (11)
- 定数 (11)
ライブラリ
-
net
/ pop (671)
クラス
-
Net
:: POP3 (484) -
Net
:: POPMail (121)
キーワード
- APOP (11)
- POP (11)
- POP3 (11)
- POPAuthenticationError (11)
- POPError (11)
- POPMail (11)
- POPSession (11)
- Revision (11)
- active? (11)
- address (11)
- all (33)
- apop? (11)
-
auth
_ only (22) - certs (11)
-
default
_ pop3 _ port (11) -
default
_ pop3s _ port (11) -
default
_ port (11) - delete (11)
- delete! (11)
-
delete
_ all (44) -
disable
_ ssl (22) - each (11)
-
each
_ mail (11) -
enable
_ ssl (22) - finish (11)
- foreach (11)
- mail (33)
- mails (11)
-
n
_ bytes (11) -
n
_ mails (11) -
net
/ pop (11) - new (11)
-
open
_ timeout (11) -
open
_ timeout= (11) - pop (33)
- port (11)
-
read
_ timeout (11) -
read
_ timeout= (11) - reset (11)
-
set
_ debug _ output (11) -
socket
_ type (11) -
ssl
_ params (11) - start (44)
- started? (11)
-
use
_ ssl? (22) - verify (11)
検索結果
先頭5件
-
Net
:: POP3 . default _ pop3 _ port -> Integer (9117.0) -
POP3 のデフォルトのポート番号(110)を返します。
...POP3 のデフォルトのポート番号(110)を返します。... -
Net
:: POP3 . default _ pop3s _ port -> Integer (9117.0) -
デフォルトのPOP3Sのポート番号(995)を返します。
...デフォルトのPOP3Sのポート番号(995)を返します。... -
Net
:: POP3 . default _ port -> Integer (6017.0) -
POP3 のデフォルトのポート番号(110)を返します。
...POP3 のデフォルトのポート番号(110)を返します。... -
Net
:: POP3 (6016.0) -
POP3 のセッションを表すクラスです。
...POP3 のセッションを表すクラスです。... -
Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) -> Net :: POP3 (3153.0) -
Net::POP3 オブジェクトを生成し、サーバへ接続します。
...Net::POP3 オブジェクトを生成し、サーバへ接続します。
ブロックを与えない場合には生成したオブジェクトを返します。
ブロックを与えた場合には、生成した Net::POP3 オブジェクトが
ブロックに渡され、ブロックが終わっ......require 'net/pop'
Net::POP3.new(address, port, isapop).start(account, password)
使用例:
require 'net/pop'
Net::POP3.start(addr, port, account, password) {|pop|
pop.each_mail do |m|
file.write m.pop
m.delete
end
}
@param address POP3サーバのホスト名文......字列
@param port 接続するPOP3サーバのポート番号
@param account アカウント名文字列
@param password パスワード文字列
@param isapop 真でAPOPを利用します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPAuthenticationEr... -
Net
:: POP3 . new(address , port = nil , apop = false) -> Net :: POP3 (3135.0) -
Net::POP3 オブジェクトを生成します。
...Net::POP3 オブジェクトを生成します。
このメソッドではサーバの接続は行いません。
apop が真のときは APOP 認証を行うオブジェクトを生成します。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使いま......す。
@param address POP3サーバのホスト名文字列
@param port 接続するPOP3サーバのポート番号
@param apop 真の場合にはAPOPで認証します
@see Net::POP3#start... -
Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) {|pop| . . . . } -> object (3053.0) -
Net::POP3 オブジェクトを生成し、サーバへ接続します。
...Net::POP3 オブジェクトを生成し、サーバへ接続します。
ブロックを与えない場合には生成したオブジェクトを返します。
ブロックを与えた場合には、生成した Net::POP3 オブジェクトが
ブロックに渡され、ブロックが終わっ......require 'net/pop'
Net::POP3.new(address, port, isapop).start(account, password)
使用例:
require 'net/pop'
Net::POP3.start(addr, port, account, password) {|pop|
pop.each_mail do |m|
file.write m.pop
m.delete
end
}
@param address POP3サーバのホスト名文......字列
@param port 接続するPOP3サーバのポート番号
@param account アカウント名文字列
@param password パスワード文字列
@param isapop 真でAPOPを利用します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPAuthenticationEr... -
Net
:: POP3 . foreach(address , port = nil , account , password , isapop=false) {|mail| . . . . } -> () (3036.0) -
POP セッションを開始し、 サーバ上のすべてのメールを取りだし、 個々のメールを引数としてブロックを呼びだします。
...ードと同様の処理をします。
require 'net/pop'
Net::POP3.start(address, port, account, password, isapop=false) {|pop|
pop.each_mail do |m|
yield m
end
}
使用例:
require 'net/pop'
Net::POP3.foreach('pop.example.com', 110,
'YourAccount',......'YourPassword') do |m|
file.write m.pop
m.delete if $DELETE
end
@param address POP3サーバのホスト名文字列
@param port 接続するPOP3サーバのポート番号
@param account アカウント名文字列
@param password パスワード文字列
@param isapop 真でAPOPを利......ていない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3.start, Net::POP3#each_mail... -
Net
:: POP3 . delete _ all(address , port = nil , account , password , isapop=false) -> () (3030.0) -
POP セッションを開始し、サーバ上のメールを全て消去します。
...995)を
使います。
使用例:
require 'net/pop'
Net::POP3.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts m.pop
end
@param address POP3サーバのホスト名文字列
@param port 接続するPOP3サーバのポート番号
@param account アカウント名文......ていない場合に発生します
@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| . . . . } -> () (3030.0) -
POP セッションを開始し、サーバ上のメールを全て消去します。
...995)を
使います。
使用例:
require 'net/pop'
Net::POP3.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts m.pop
end
@param address POP3サーバのホスト名文字列
@param port 接続するPOP3サーバのポート番号
@param account アカウント名文......ていない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3.start, Net::POP3#delete_all...