231件ヒット
[1-100件を表示]
(0.024秒)
種類
- 特異メソッド (121)
- インスタンスメソッド (110)
クラス
-
Net
:: POP3 (132) -
Net
:: POPMail (99)
キーワード
- all (33)
-
auth
_ only (11) - certs (11)
-
delete
_ all (22) -
enable
_ ssl (22) - foreach (11)
- mail (33)
- new (11)
- pop (33)
-
ssl
_ params (11) - start (22)
- verify (11)
検索結果
先頭5件
- Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) -> Net :: POP3 - Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) {|pop| . . . . } -> object - Net
:: POP3 . delete _ all(address , port = nil , account , password , isapop=false) -> () - Net
:: POP3 . delete _ all(address , port = nil , account , password , isapop=false) {|mail| . . . . } -> () - Net
:: POP3 . auth _ only(address , port = nil , account , password , isapop=false)
-
Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) -> Net :: POP3 (314.0) -
Net::POP3 オブジェクトを生成し、サーバへ接続します。
...ます。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
以下のコードと同じ動作をします。
require 'net/pop'
Net::POP3.new(address, port, isapop).start(account, password)
使用例:
require 'net/pop'
Net::POP3.sta... -
Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) {|pop| . . . . } -> object (314.0) -
Net::POP3 オブジェクトを生成し、サーバへ接続します。
...ます。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
以下のコードと同じ動作をします。
require 'net/pop'
Net::POP3.new(address, port, isapop).start(account, password)
使用例:
require 'net/pop'
Net::POP3.sta... -
Net
:: POP3 . delete _ all(address , port = nil , account , password , isapop=false) -> () (116.0) -
POP セッションを開始し、サーバ上のメールを全て消去します。
...t::POPMail のインスタンスとして渡されます。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
使用例:
require 'net/pop'
Net::POP3.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts m.pop
end
@param... -
Net
:: POP3 . delete _ all(address , port = nil , account , password , isapop=false) {|mail| . . . . } -> () (116.0) -
POP セッションを開始し、サーバ上のメールを全て消去します。
...t::POPMail のインスタンスとして渡されます。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
使用例:
require 'net/pop'
Net::POP3.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts m.pop
end
@param... -
Net
:: POP3 . auth _ only(address , port = nil , account , password , isapop=false) (109.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...行って接続を切ります。
主に POP before SMTP のために用意されています。
使用例:
require 'net/pop'
Net::POP3.auth_only('pop.example.com', nil, # using default port (110)
'YourAccount', 'YourPassword')
@param address POP3サーバのホ... -
Net
:: POP3 . certs -> String|nil (109.0) -
SSL のパラメータの ca_file (なければ ca_path) を返します。
...SSL のパラメータの ca_file (なければ ca_path) を返します。
どちらも設定されていない場合は nil を返します。
@see OpenSSL::SSL::SSLContext#ca_file, OpenSSL::SSL::SSLContext#ca_path... -
Net
:: POP3 . foreach(address , port = nil , account , password , isapop=false) {|mail| . . . . } -> () (109.0) -
POP セッションを開始し、 サーバ上のすべてのメールを取りだし、 個々のメールを引数としてブロックを呼びだします。
...Net::POPMail のインスタンスで渡されます。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
以下のコードと同様の処理をします。
require 'net/pop'
Net::POP3.start(address, port, account, password, isapop=fals......e) {|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サーバのホスト名文字... -
Net
:: POP3 . new(address , port = nil , apop = false) -> Net :: POP3 (109.0) -
Net::POP3 オブジェクトを生成します。
...ソッドではサーバの接続は行いません。
apop が真のときは APOP 認証を行うオブジェクトを生成します。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
@param address POP3サーバのホスト名文字列
@... -
Net
:: POP3 . ssl _ params -> Hash|nil (109.0) -
SSL での接続を有効にしている場合には、 SSL の設定のハッシュを返します。
...時に生成される
OpenSSL::SSL::SSLContext オブジェクトの
OpenSSL::SSL::SSLContext#set_params に渡されます。
このハッシュを変更することで、利用されるパラメータが
変更されます。
SSL を有効にしていない場合には nil を返します。... -
Net
:: POP3 . verify -> Integer|nil (109.0) -
SSL のパラメータの verify_mode を返します。
...SSL のパラメータの verify_mode を返します。
設定されていない場合は nil を返します。
@see OpenSSL::SSL::SSLContext#verify_mode...