るりまサーチ

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

別のキーワード

  1. etc sc_2_pbs_message
  2. etc sc_message_passing
  3. getoptlong error_message
  4. mkmf message
  5. kernel message

モジュール

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

Net::SMTP#send_message(mailsrc, from_addr, *to_addrs) -> () (3107.0)

メールを送信します。

...は送信先メールアドレスを文字列で渡します。

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 で...

Etc::SC_2_PBS_MESSAGE -> Integer (3102.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Etc::SC_MESSAGE_PASSING -> Integer (3102.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Net::IMAP::BodyTypeMessage#body -> Net::IMAP::BodyTypeBasic | Net::IMAP::BodyTypeMessage | Net::IMAP::BodyTypeText | Net::IMAP::BodyTypeMultipart (3100.0)

ボディを返します。

ボディを返します。

Exception2MessageMapper#Fail(exception_class = nil, *rest) -> () (3018.0)

登録されている情報を使用して、例外を発生させます。

...値。

@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。

例:

class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>...
...ss, 1, 2, 3
end
end

Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。

Foo.Raise Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)...

絞り込み条件を変える

Exception2MessageMapper#Raise(exception_class = nil, *rest) -> () (3018.0)

登録されている情報を使用して、例外を発生させます。

...値。

@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。

例:

class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>...
...ss, 1, 2, 3
end
end

Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。

Foo.Raise Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)...

Net::SMTP#ready(from_addr, *to_addrs) {|f| .... } -> () (3013.0)

メール書き込みの準備をし、書き込み先のストリームオブジェクトを ブロックに渡します。ブロック終了後、書きこんだ結果が 送られます。

...信先メールアドレスを文字列で渡します。

require 'net/smtp'

Net::SMTP.start('smtp.example.com', 25) {|smtp|
smtp.open_message_stream('from@example.com', 'to@example.net') {|f|
f.puts 'From: from@example.com'
f.puts 'To: to@example.net'
f.puts 'Subject: te...
...TPエラーコード5xxの場合に発生します
@raise Net::SMTPAuthenticationError 送信に必要な認証を行っていなかった場合に発生します
@raise Net::SMTPUnknownError SMTPエラーコードがプロトコル上不正な場合に発生します

@see Net::SMTP#send_message...

Exception#to_s -> String (3007.0)

エラーメッセージをあらわす文字列を返します。

...エラーメッセージをあらわす文字列を返します。

//emlist[例][ruby]{
begin
1 + nil
rescue => e
p e.message #=> "nil can't be coerced into Fixnum"
end
//}...

Net::HTTPResponse#msg -> String (3007.0)

HTTP サーバがリザルトコードに付加して返すメッセージです。 例えば 'Not Found' などです。

...して返すメッセージです。
例えば 'Not Found' などです。

msg は obsolete です。使わないでください。

//emlist[例][ruby]{
require 'net/http'

uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.message # => "OK"
//}...

Net::IMAP::BodyTypeMessage#media_type -> String (3006.0)

MIME のメディアタイプを返します。

...MIME のメディアタイプを返します。

これは "MESSAGE" を返します。

@see Net::IMAP::BodyTypeMessage#subtype...

絞り込み条件を変える

<< < 1 2 3 4 5 ... > >>