るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.121秒)
トップページ > クエリ:i[x] > クエリ:@[x] > クエリ:before[x] > クエリ:auth_only[x]

別のキーワード

  1. _builtin slice_before
  2. lazy slice_before
  3. enumerable slice_before
  4. json space_before
  5. openssl not_before=

ライブラリ

クラス

検索結果

Net::POP3.auth_only(address, port = nil, account, password, isapop=false) (18261.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サーバのホスト名文字列
@
param port 接...
...
@
param account アカウント名文字列
@
param password パスワード文字列
@
param isapop 真でAPOPを利用します

@
raise Net::POPAuthenticationError 認証に失敗した、もしくはAPOPを利用しようとしたがサーバがAPOPを提供していない場合に発生します
@
...
...raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@
raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します...