種類
- インスタンスメソッド (360)
- 特異メソッド (41)
クラス
-
Net
:: SMTP (401)
キーワード
-
auth
_ cram _ md5 (11) -
auth
_ login (11) -
auth
_ plain (11) - authenticate (11)
-
capable
_ auth _ types (11) -
capable
_ cram _ md5 _ auth? (11) -
capable
_ login _ auth? (11) -
capable
_ plain _ auth? (11) -
capable
_ starttls? (11) -
disable
_ starttls (11) - ehlo (11)
-
enable
_ ssl (11) -
enable
_ starttls (11) -
enable
_ starttls _ auto (11) -
enable
_ tls (11) - esmtp= (11)
- finish (11)
- helo (11)
- new (11)
- ready (11)
-
send
_ mail (11) - sendmail (11)
- ssl? (11)
- started? (11)
- starttls (11)
- starttls? (11)
-
starttls
_ always? (11) -
starttls
_ auto? (11) - tls? (11)
検索結果
先頭5件
- Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object - 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
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP
-
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18124.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...ジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: 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 接続するサ......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (18124.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...ジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: 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 接続するサ......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
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 (18124.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...ジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: 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 接続するサ......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
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 (18124.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...ジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: 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 接続するサ......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18122.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...ジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo, user, password, authtype)
このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP......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 接続するサ......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (18122.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...ジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo, user, password, authtype)
このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP......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 接続するサ......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP # start(helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18106.0) -
サーバにコネクションを張り、同時に SMTP セッションを開始します。
...します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合... -
Net
:: SMTP # start(helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (18106.0) -
サーバにコネクションを張り、同時に SMTP セッションを開始します。
...します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合... -
Net
:: SMTP # start(helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18106.0) -
サーバにコネクションを張り、同時に SMTP セッションを開始します。
...します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合... -
Net
:: SMTP # start(helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) {|smtp| . . . } -> object (18106.0) -
サーバにコネクションを張り、同時に SMTP セッションを開始します。
...します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合... -
Net
:: SMTP # start(helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18104.0) -
サーバにコネクションを張り、同時に SMTP セッションを開始します。
...します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合... -
Net
:: SMTP # start(helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (18104.0) -
サーバにコネクションを張り、同時に SMTP セッションを開始します。
...します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPUnsupportedCommand STARTTLSをサポートしていないサーバでSTARTTLSを利用しようとした場合に発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合... -
Net
:: SMTP # starttls? -> Symbol / nil (6114.0) -
その Net::SMTP オブジェクトが STARTTLSを利用するかどうかを返します。
...その Net::SMTP オブジェクトが STARTTLSを利用するかどうかを返します。
常に利用する(利用できないときは Net::SMTP#start で例外
Net::SMTPUnsupportedCommand を発生) するときは :always を、
利用可能な場合のみ利用する場合は :auto を、......常に利用しない場合には nil を返します。
@see Net::SMTP#start... -
Net
:: SMTP # capable _ starttls? -> bool (6108.0) -
サーバが STARTTLS を広告してきた場合に真を返します。
...サーバが STARTTLS を広告してきた場合に真を返します。
このメソッドは Net::SMTP#start などでセッションを開始
した以降にしか正しい値を返しません。... -
Net
:: SMTP # started? -> bool (6108.0) -
SMTP セッションが開始されていたら真を返します。
...SMTP セッションが開始されていたら真を返します。
セッションがまだ開始していない、もしくは終了している場合には偽を返します。
@see Net::SMTP#start, Net::SMTP#finish... -
Net
:: SMTP # starttls -> Net :: SMTP :: Response (6108.0) -
STARTTLS コマンドを送ります。
...STARTTLS コマンドを送ります。
通常は Net::SMTP#start で STARTTLS が送られるため
利用する必要はないはずです。...