165件ヒット
[1-100件を表示]
(0.161秒)
ライブラリ
- ビルトイン (8)
-
minitest
/ unit (1) -
net
/ imap (84) -
net
/ smtp (36) - optparse (24)
-
shell
/ system-command (12)
クラス
- Exception (8)
-
Net
:: IMAP :: BodyTypeMessage (84) -
Net
:: SMTP (36) -
OptionParser
:: ParseError (24) -
Shell
:: SystemCommand (12)
モジュール
キーワード
-
content
_ id (12) - description (12)
- encoding (12)
-
exception
_ details (1) -
media
_ subtype (12) -
media
_ type (12) - notify (12)
- param (12)
-
send
_ mail (12) - sendmail (12)
- subtype (12)
-
to
_ s (12)
検索結果
先頭5件
-
OptionParser
:: ParseError # message -> String (18210.0) -
標準エラーに出力するメッセージを返します。
...標準エラーに出力するメッセージを返します。
@return 文字列を返します。... -
Exception
# full _ message(highlight: true , order: :bottom) -> String (6239.0) -
例外の整形された文字列を返します。
...と order は 2.5.1 で追加されました。
@param highlight エスケープシーケンスによる文字装飾をつけるかどうかを指定します。
デフォルト値は Exception.to_tty? の返り値と同じです。
@param order :top か :bottom で指定する必......ue => e
p e.full_message # => "\e[1mTraceback \e[m(most recent call last):\ntest.rb:2:in `<main>': \e[1mtest (\e[4;1mRuntimeError\e[m\e[1m)\n\e[m"
$stderr = $stdout
p e.full_message # => "test.rb:2:in `<main>': test (RuntimeError)\n"
$stderr = STDERR
p e.full_message # => "\e[1mTrace......back \e[m(most recent call last):\ntest.rb:2:in `<main>': \e[1mtest (\e[4;1mRuntimeError\e[m\e[1m)\n\e[m"
end
//}
@see Exception.to_tty?......による文字装飾がついています。
@param highlight エスケープシーケンスによる文字装飾をつけるかどうかを指定します。
デフォルト値は Exception.to_tty? の返り値と同じです。
@param order :top か :bottom で指定する必... -
Net
:: IMAP :: BodyTypeMessage # param -> { String => String } | nil (3209.0) -
MIME のボディパラメータをハッシュテーブルで返します。
...MIME のボディパラメータをハッシュテーブルで返します。
ハッシュテーブルのキーがパラメータ名となります。
@see 2045... -
Net
:: SMTP # send _ message(mailsrc , from _ addr , *to _ addrs) -> () (3192.0) -
メールを送信します。
...たとえば String や File)。
from_domain は送り主のメールアドレス ('...@...'のかたち) 、
to_addrs には送信先メールアドレスを文字列で渡します。
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string,......'from@example.com',
'to1@example.net', 'to2@example.net'
}
sendmail は obsolete です。
@param mailsrc メールの内容
@param from_addr 送信元のメールアドレス
@param to_addrs 送信先のメールアドレス(複数可、少なくとも1個)
@raise IOE......る場合に発生します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SM... -
Net
:: IMAP :: BodyTypeMessage # media _ type -> String (3114.0) -
MIME のメディアタイプを返します。
...MIME のメディアタイプを返します。
これは "MESSAGE" を返します。
@see Net::IMAP::BodyTypeMessage#subtype... -
OptionParser
:: ParseError # to _ s -> String (3110.0) -
標準エラーに出力するメッセージを返します。
...標準エラーに出力するメッセージを返します。
@return 文字列を返します。... -
Net
:: IMAP :: BodyTypeMessage # media _ subtype -> String (3109.0) -
MIME のメディアタイプのサブタイプを返します。 media_subtype は obsolete です。
...MIME のメディアタイプのサブタイプを返します。
media_subtype は obsolete です。
@see Net::IMAP::BodyTypeMessage#media_type... -
Net
:: IMAP :: BodyTypeMessage # subtype -> String (3109.0) -
MIME のメディアタイプのサブタイプを返します。 media_subtype は obsolete です。
...MIME のメディアタイプのサブタイプを返します。
media_subtype は obsolete です。
@see Net::IMAP::BodyTypeMessage#media_type... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (3108.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045...