るりまサーチ

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

別のキーワード

  1. matrix tr
  2. string tr_s
  3. instruction target
  4. instruction target=
  5. string tr_s!

クラス

キーワード

検索結果

Net::SMTP#address -> String (203.0)

接続先のアドレスを返します。

接続先のアドレスを返します。

Net::SMTP#capable_auth_types -> [String] (203.0)

接続したサーバで利用可能な認証を配列で返します。

接続したサーバで利用可能な認証を配列で返します。

返り値の配列の要素は、 'PLAIN', 'LOGIN', 'CRAM-MD5' です。

このメソッドは Net::SMTP#start などでセッションを開始
した以降にしか正しい値を返しません。

Net::SMTP#inspect -> String (203.0)

@see Object#inspect

@see Object#inspect

Net::SMTP::Revision -> String (203.0)

ファイルのリビジョンです。使わないでください。

ファイルのリビジョンです。使わないでください。

Net::SMTP.start(address, port = Net::SMTP.default_port, tls_verify: true, tls_hostname: nil, helo: 'localhost', user: nil, password: nil, authtype: DEFAULT_AUTH_TYPE) -> Net::SMTP (108.0)

新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。

...しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。


以下と同じです。

require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)

このメソッドにブロックを与え...
...のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

Example:

require 'net/smtp'

Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}

@param address 接続するサーバをホスト名もしくは...

絞り込み条件を変える

Net::SMTP.start(address, port = Net::SMTP.default_port, tls_verify: true, tls_hostname: nil, helo: 'localhost', user: nil, password: nil, authtype: DEFAULT_AUTH_TYPE) {|smtp| ... } -> object (108.0)

新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。

...しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。


以下と同じです。

require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)

このメソッドにブロックを与え...
...のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

Example:

require 'net/smtp'

Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}

@param address 接続するサーバをホスト名もしくは...