るりまサーチ

最速Rubyリファレンスマニュアル検索!
39件ヒット [1-39件を表示] (0.199秒)
トップページ > クエリ:i[x] > クエリ:A[x] > クエリ:DEFAULT_PORT[x] > クラス:Net::SMTP[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

ライブラリ

キーワード

検索結果

Net::SMTP.default_port -> Integer (12302.0)

SMTPのデフォルトのポート番号(25)を返します。

SMTPのデフォルトのポート番号(25)を返します。

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

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

...ます。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を引数としてそのブ...
...しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
a
uthtype は使用す...
...ain, :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アドレスで指定します
@para...

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

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

...ます。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を引数としてそのブ...
...しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
a
uthtype は使用す...
...ain, :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アドレスで指定します
@para...

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

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

...ョンを開始します。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を引数としてそのブロックを呼...
...しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
a
uthtype は使用す...
...ain, :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アドレスで指定します
@para...

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

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

...ョンを開始します。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を引数としてそのブロックを呼...
...しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
a
uthtype は使用す...
...ain, :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アドレスで指定します
@para...

絞り込み条件を変える

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

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

...ます。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を引数としてそのブ...
...しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
a
uthtype は使用す...
...ain, :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アドレスで指定します
@para...

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

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

...ます。


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を引数としてそのブ...
...しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
a
uthtype は使用す...
...ain, :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アドレスで指定します
@para...