2件ヒット
[1-2件を表示]
(0.173秒)
ライブラリ
-
net
/ pop (2)
キーワード
-
auth
_ only (1) -
set
_ debug _ output (1)
検索結果
-
Net
:: POP3 # auth _ only(account , password) -> () (18325.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...けを行って接続を切ります。
主に POP before SMTP のために用意されています。
使用例:
require 'net/pop'
pop = Net::POP3.new('pop.example.com')
pop.auth_only 'YourAccount', 'YourPassword'
@param account アカウント名文字列
@param password パスワード... -
Net
:: POP3 # set _ debug _ output(f) -> () (18325.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
}
実行結果:
PO...