792件ヒット
[1-100件を表示]
(0.055秒)
種類
- インスタンスメソッド (484)
- 特異メソッド (198)
- クラス (99)
- 定数 (11)
クラス
-
Net
:: POP3 (484) -
Net
:: POPMail (209)
キーワード
- APOP (22)
- APOPSession (11)
- POP (11)
- POP3 (11)
- POPAuthenticationError (11)
- POPBadResponse (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) - deleted? (11)
-
disable
_ ssl (22) - each (11)
-
each
_ mail (11) -
enable
_ ssl (22) - finish (11)
- foreach (11)
- header (11)
- length (11)
- mail (33)
- mails (11)
-
n
_ bytes (11) -
n
_ mails (11) - new (11)
- number (11)
-
open
_ timeout (11) -
open
_ timeout= (11) - pop (33)
- port (11)
-
read
_ timeout (11) -
read
_ timeout= (11) - reset (11)
-
set
_ debug _ output (11) - size (11)
-
socket
_ type (11) -
ssl
_ params (11) - start (44)
- started? (11)
- top (11)
- uidl (11)
-
unique
_ id (11) -
use
_ ssl? (22) - verify (11)
検索結果
先頭5件
-
Net
:: POP3 . new(address , port = nil , apop = false) -> Net :: POP3 (9202.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
:: POPAuthenticationError (9002.0) -
POP3 で認証に失敗したときに発生します。
POP3 で認証に失敗したときに発生します。 -
Net
:: POP3 # n _ bytes -> Integer (6109.0) -
サーバにあるメールの総バイト数を返します。
...ールの総バイト数を返します。
@see Net::POP3#n_mails
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上... -
Net
:: POP3 # n _ mails -> Integer (6109.0) -
サーバにあるメールの数を返します。
...にあるメールの数を返します。
@see Net::POP3#n_bytes
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上... -
Net
:: POP3 # open _ timeout=(n) (6109.0) -
接続時に待つ最大秒数を設定します。
...接続時に待つ最大秒数を設定します。
@param n タイムアウトまでの秒数
@see Net::POP3#open_timeout... -
Net
:: POP3 # auth _ only(account , password) -> () (6102.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...'net/pop'
pop = Net::POP3.new('pop.example.com')
pop.auth_only 'YourAccount', 'YourPassword'
@param account アカウント名文字列
@param password パスワード文字列
@raise IOError セッションが既に開始されている場合に発生します
@raise Net::POPAuthenticationEr......ようとしたがサーバがAPOPを提供していない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します... -
Net
:: POP3 # enable _ ssl(verify _ or _ params={} , certs=nil) -> () (6102.0) -
このインスタンスが SSL による通信を利用するように設定します。
...る
OpenSSL::SSL::SSLContext オブジェクトの
OpenSSL::SSL::SSLContext#set_params に渡されます。
certs は無視されます。
verify_or_params がハッシュでない場合には、接続時に生成される
OpenSSL::SSL::SSLContext オブジェクトの
OpenSSL::SSL::SSLContext#set......ify_mode => verify_or_params, :ca_path => certs }
というハッシュが渡されます。
@param verify_or_params SSLの設定のハッシュ、もしくは SSL の設定の verify_mode
@param certs SSL の設定の ca_path
@see Net::POP3.enable_ssl, Net::POP3#disable_ssl, Net::POP3#use_ssl?... -
Net
:: POP3 # finish -> () (6102.0) -
POP3 セッションを終了し、接続を閉じます。
POP3 セッションを終了し、接続を閉じます。
@raise IOError セッション開始前にこのメソッドを呼ぶと発生します -
Net
:: POP3 # open _ timeout -> Integer (6102.0) -
接続時に待つ最大秒数を返します。
...接続時に待つ最大秒数を返します。
この秒数たってもコネクションが開かないときは例外 Net::OpenTimeout を発生します。
デフォルトは30秒です。
@see Net::POP3#open_timeout=... -
Net
:: POP3 . auth _ only(address , port = nil , account , password , isapop=false) (6102.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...例:
require 'net/pop'
Net::POP3.auth_only('pop.example.com', nil, # using default port (110)
'YourAccount', 'YourPassword')
@param address POP3サーバのホスト名文字列
@param port 接続するPOP3サーバのポート番号
@param account アカウント名......raise Net::POPAuthenticationError 認証に失敗した、もしくはAPOPを利用しようとしたがサーバがAPOPを提供していない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse...