るりまサーチ

最速Rubyリファレンスマニュアル検索!
88件ヒット [1-88件を表示] (0.031秒)
トップページ > クエリ:@[x] > クエリ:plain[x] > ライブラリ:net/smtp[x]

別のキーワード

  1. scalar plain
  2. psych plain
  3. scalar plain=
  4. psych plain=
  5. smtp auth_plain

クラス

キーワード

検索結果

Net::SMTP#auth_plain(user, secret) -> () (6131.0)

PLAIN 認証を行います。

...PLAIN 認証を行います。

このメソッドはセッション開始(Net::SMTP#start)後、
メールを送る前に呼びだしてください。

通常は Net::SMTP.start や Net::SMTP#start で認証を
行うためこれを利用する必要はないはずです。

@
param user 認証で...
...使うアカウント名
@
param secret 認証で使うパスワード...

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

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

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


以下と同じです。

require 'net/smtp'
Net::SMTP.new(address, port).start(helo, user, password, 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アドレスで指定します
@
p...
...トは 25 です
@
param tls_verify サーバー証明書を検証するか否か
@
param tls_hostname サーバー証明書のホスト名
@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype...
...しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。


以下と同じです。

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

このメソッドにブロックを与え...

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

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

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


以下と同じです。

require 'net/smtp'
Net::SMTP.new(address, port).start(helo, user, password, 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アドレスで指定します
@
p...
...トは 25 です
@
param tls_verify サーバー証明書を検証するか否か
@
param tls_hostname サーバー証明書のホスト名
@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype...
...しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。


以下と同じです。

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

このメソッドにブロックを与え...

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 (110.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 接続するサーバをホスト名もしくはIPアドレスで指定します
@
p...
...トは 25 です
@
param tls_verify サーバー証明書を検証するか否か
@
param tls_hostname サーバー証明書のホスト名
@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype...

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 (110.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 接続するサーバをホスト名もしくはIPアドレスで指定します
@
p...
...トは 25 です
@
param tls_verify サーバー証明書を検証するか否か
@
param tls_hostname サーバー証明書のホスト名
@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype...

絞り込み条件を変える

Net::SMTP#start(helo = 'localhost', user = nil, password = nil, authtype = DEFAULT_AUTH_TYPE) -> Net::SMTP (74.0)

サーバにコネクションを張り、同時に SMTP セッションを開始します。

...えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

このメソッドにブロックを与えた場合には、そのオブジェクト
を引数として...
...利用者の責任と
なります。

@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)

@
raise IOError すでにセッション...
...している場合に発生します
@
raise TimeoutError 接続がタイムアウトした場合に発生します
@
raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@
raise Net::SMTPServerBusy SMTPエラー...

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

サーバにコネクションを張り、同時に SMTP セッションを開始します。

...えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

このメソッドにブロックを与えた場合には、そのオブジェクト
を引数として...
...利用者の責任と
なります。

@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)

@
raise IOError すでにセッション...
...している場合に発生します
@
raise TimeoutError 接続がタイムアウトした場合に発生します
@
raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@
raise Net::SMTPServerBusy SMTPエラー...

Net::SMTP#start(helo: 'localhost', user: nil, password: nil, authtype: DEFAULT_AUTH_TYPE) -> Net::SMTP (74.0)

サーバにコネクションを張り、同時に SMTP セッションを開始します。

...えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

このメソッドにブロックを与えた場合には、そのオブジェクト
を引数として...
...利用者の責任と
なります。

@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)

@
raise IOError すでにセッション...
...している場合に発生します
@
raise TimeoutError 接続がタイムアウトした場合に発生します
@
raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@
raise Net::SMTPServerBusy SMTPエラー...

Net::SMTP#start(helo: 'localhost', user: nil, password: nil, authtype: DEFAULT_AUTH_TYPE) {|smtp| ... } -> object (74.0)

サーバにコネクションを張り、同時に SMTP セッションを開始します。

...えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

このメソッドにブロックを与えた場合には、そのオブジェクト
を引数として...
...利用者の責任と
なります。

@
param helo HELO で名乗るドメイン名です
@
param user 認証で使うアカウント名
@
param password 認証で使うパスワード
@
param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)

@
raise IOError すでにセッション...
...している場合に発生します
@
raise TimeoutError 接続がタイムアウトした場合に発生します
@
raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@
raise Net::SMTPServerBusy SMTPエラー...

Net::SMTP#authenticate(user, secret, authtype) -> () (38.0)

認証を行います。

...する必要はないはずです。

@
param user 認証で使うアカウント名
@
param secret 認証で使うパスワード
@
param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)

@
see Net::SMTP.start, Net::SMTP#start, Net::SMTP#auth_plain, Net::SMTP#auth_login, Net::SMTP#au...

絞り込み条件を変える