2件ヒット
[1-2件を表示]
(0.026秒)
クラス
-
Net
:: POP3 (2)
キーワード
-
auth
_ only (1) -
set
_ debug _ output (1)
検索結果
-
Net
:: POP3 # auth _ only(account , password) -> () (28.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...開き、認証だけを行って接続を切ります。
主に POP before SMTP のために用意されています。
使用例:
require 'net/pop'
pop = Net::POP3.new('pop.example.com')
pop.auth_only 'YourAccount', 'YourPassword'
@param account アカウント名文字列
@param passwo... -
Net
:: POP3 # set _ debug _ output(f) -> () (28.0) -
デバッグ用の出力 f をセットします。
...使わないでください。
f は << メソッドを持っているオブジェクトでなければなりません。
使用例:
require 'net/pop'
pop = Net::POP3.new('pop.example.com', 110)
pop.set_debug_output $stderr
pop.start('YourAccount', 'YourPassword') {
p pop.n_bytes
}...