るりまサーチ

最速Rubyリファレンスマニュアル検索!
204件ヒット [201-204件を表示] (0.121秒)
トップページ > クエリ:I[x] > クエリ:u[x] > クエリ:default_port[x]

別のキーワード

  1. erb u
  2. matrix u
  3. util u
  4. lupdecomposition u
  5. _builtin koi8_u

検索結果

<< < 1 2 3 >>

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 (404.0)

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

...サーバに接続し、セッションを開始します。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::S...
...終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

u
ser と password の両方が与えられた場合、
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.jp', 'to@example.jp'
}

@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param port ポート番号、デフ...

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 (404.0)

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

...サーバに接続し、セッションを開始します。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::S...
...終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

u
ser と password の両方が与えられた場合、
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.jp', 'to@example.jp'
}

@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param port ポート番号、デフ...
<< < 1 2 3 >>