るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.088秒)

別のキーワード

  1. pop auth_only
  2. pop3 auth_only
  3. net/pop auth_only
  4. cgi auth_type
  5. smtp auth_login

ライブラリ

クラス

検索結果

Net::POP3.auth_only(address, port = nil, account, password, isapop=false) (54325.0)

POP セッションを開き、認証だけを行って接続を切ります。

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 接続するPOP3サーバのポート番号
@param account ...