864件ヒット
[1-100件を表示]
(0.097秒)
種類
- インスタンスメソッド (528)
- 特異メソッド (216)
- クラス (108)
- 定数 (12)
クラス
-
Net
:: POP3 (528) -
Net
:: POPMail (228)
キーワード
- APOP (24)
- APOPSession (12)
- POP (12)
- POP3 (12)
- POPAuthenticationError (12)
- POPBadResponse (12)
- POPError (12)
- POPMail (12)
- POPSession (12)
- Revision (12)
- active? (12)
- address (12)
- all (36)
- apop? (12)
-
auth
_ only (24) - certs (12)
-
default
_ pop3 _ port (12) -
default
_ pop3s _ port (12) -
default
_ port (12) - delete (12)
- delete! (12)
-
delete
_ all (48) - deleted? (12)
-
disable
_ ssl (24) - each (12)
-
each
_ mail (12) -
enable
_ ssl (24) - finish (12)
- foreach (12)
- header (12)
- length (12)
- mail (36)
- mails (12)
-
n
_ bytes (12) -
n
_ mails (12) - new (12)
- number (12)
-
open
_ timeout (12) -
open
_ timeout= (12) - pop (36)
- port (12)
-
read
_ timeout (12) -
read
_ timeout= (12) - reset (12)
-
set
_ debug _ output (12) - size (12)
-
socket
_ type (12) -
ssl
_ params (12) - start (48)
- started? (12)
- top (12)
- uidl (12)
-
unique
_ id (12) -
use
_ ssl? (24) - verify (12)
検索結果
先頭5件
-
Net
:: POP3 # n _ bytes -> Integer (6202.0) -
サーバにあるメールの総バイト数を返します。
...るメールの総バイト数を返します。
@see Net::POP3#n_mails
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコ... -
Net
:: POP3 # active? -> bool (6102.0) -
POP3 セッションが開始されていたら真を返します。
...POP3 セッションが開始されていたら真を返します。
active? は obsolete です。... -
Net
:: POP3 # auth _ only(account , password) -> () (6102.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...けを行って接続を切ります。
主に POP before SMTP のために用意されています。
使用例:
require 'net/pop'
pop = Net::POP3.new('pop.example.com')
pop.auth_only 'YourAccount', 'YourPassword'
@param account アカウント名文字列
@param password パスワード......す
@raise Net::POPAuthenticationError 認証に失敗した、もしくはAPOPを利用しようとしたがサーバがAPOPを提供していない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadRespo... -
Net
:: POP3 # delete _ all -> () (6102.0) -
サーバ上のメールを全て消去します。
...きは消去する前に各メールを引数としてブロックを呼びだします。
メールは Net::POPMail のインスタンスとして渡されます。
使用例:
require 'net/pop'
n = 1
pop.delete_all do |m|
File.open("inbox/#{n}") {|f| f.write m.pop }
n += 1
end... -
Net
:: POP3 # delete _ all {|popmail| . . . . } -> () (6102.0) -
サーバ上のメールを全て消去します。
...きは消去する前に各メールを引数としてブロックを呼びだします。
メールは Net::POPMail のインスタンスとして渡されます。
使用例:
require 'net/pop'
n = 1
pop.delete_all do |m|
File.open("inbox/#{n}") {|f| f.write m.pop }
n += 1
end... -
Net
:: POP3 # open _ timeout -> Integer (6102.0) -
接続時に待つ最大秒数を返します。
...接続時に待つ最大秒数を返します。
この秒数たってもコネクションが開かないときは例外 Net::OpenTimeout を発生します。
デフォルトは30秒です。
@see Net::POP3#open_timeout=... -
Net
:: POP3 # open _ timeout=(n) (6102.0) -
接続時に待つ最大秒数を設定します。
...接続時に待つ最大秒数を設定します。
@param n タイムアウトまでの秒数
@see Net::POP3#open_timeout... -
Net
:: POP3 # port -> Integer (6102.0) -
接続するポート番号です。
接続するポート番号です。 -
Net
:: POP3 # read _ timeout -> Integer (6102.0) -
読み込みでブロックしてよい最大秒数を返します。
...読み込みでブロックしてよい最大秒数を返します。
この秒数たっても読みこめなければ例外 ReadTimeout を発生します。
デフォルトは60秒です。
@see Net::POP3#read_timeout=...