28件ヒット
[1-28件を表示]
(0.119秒)
種類
- インスタンスメソッド (22)
- 特異メソッド (6)
クラス
-
Net
:: IMAP :: MailboxACLItem (22) -
Net
:: SMTP (6)
検索結果
先頭4件
- Net
:: IMAP :: MailboxACLItem # user -> String - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) {|smtp| . . . } -> object - Net
:: IMAP :: MailboxACLItem # rights -> String
-
Net
:: IMAP :: MailboxACLItem # user -> String (24302.0) -
ユーザ名を返します。
...ユーザ名を返します。
このユーザは
Net::IMAP#getacl で指定したメールボックスに
対し何らかの権限を持っています。... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (6340.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジ......SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example......example.jp'
}
@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param port ポート番号、デフォルトは 25 です
@param tls_verify サーバー証明書を検証するか否か
@param tls_hostname サーバー証明書のホスト名
@param... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) {|smtp| . . . } -> object (6340.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジ......SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example......example.jp'
}
@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param port ポート番号、デフォルトは 25 です
@param tls_verify サーバー証明書を検証するか否か
@param tls_hostname サーバー証明書のホスト名
@param... -
Net
:: IMAP :: MailboxACLItem # rights -> String (6207.0) -
アクセス権限を文字列で返します。
...アクセス権限を文字列で返します。
Net::IMAP::MailboxACLItem#user で得られるユーザが
持っている権限が返されます。
この文字列の意味については 2086 を参照してください。...