708件ヒット
[1-100件を表示]
(0.025秒)
別のキーワード
ライブラリ
- ビルトイン (66)
- e2mmap (12)
- getoptlong (12)
- logger (36)
-
net
/ imap (144) -
net
/ smtp (116) -
net
/ telnet (4) - openssl (12)
- optparse (24)
- shell (6)
-
shell
/ system-command (12) - syslog (96)
- thread (6)
- timeout (18)
- win32ole (48)
クラス
- Exception (12)
- GetoptLong (12)
- Logger (36)
-
Net
:: IMAP (12) -
Net
:: IMAP :: BodyTypeMessage (108) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: Envelope (12) -
Net
:: SMTP (116) -
Net
:: Telnet (4) - OptionParser (24)
- Shell (6)
-
Shell
:: SystemCommand (12) - SystemCallError (12)
-
Thread
:: SizedQueue (36) -
WIN32OLE
_ EVENT (24) -
WIN32OLE
_ TYPE (12)
モジュール
- Exception2MessageMapper (12)
- Syslog (96)
- Timeout (18)
キーワード
- << (12)
- == (12)
- Fiber (12)
-
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (5) - OCSP (12)
-
WIN32OLE
_ EVENT (12) - alert (12)
- body (12)
-
content
_ id (12) - crit (12)
- data (24)
- debug (12)
-
default
_ event _ sources (12) - deq (12)
- description (12)
- disposition (12)
- emerg (12)
- envelope (12)
- err (12)
- errno (12)
- expunge (12)
- extension (12)
- formatter (12)
- formatter= (12)
- handler= (12)
- info (12)
- language (12)
- logger (12)
- md5 (12)
-
net
/ imap (12) -
net
/ smtp (12) - new (4)
- notice (12)
- notify (18)
-
on
_ tail (12) - param (12)
- parts (12)
- pop (12)
- ready (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
send
_ mail (12) - sendmail (12)
- separator (12)
- shift (12)
- start (32)
- timeout (18)
- warning (12)
- 制御構造 (12)
検索結果
先頭5件
-
Exception2MessageMapper
. message(klass , exp) -> String | nil (21204.0) -
@todo
@todo
@param klass
@param exp -
Exception2MessageMapper
. e2mm _ message(klass , exp) -> String | nil (9204.0) -
@todo
@todo
@param klass
@param exp -
Net
:: SMTP # open _ message _ stream(from _ addr , *to _ addrs) {|f| . . . . } -> () (6227.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: test mail'......TPエラーコード5xxの場合に発生します
@raise Net::SMTPAuthenticationError 送信に必要な認証を行っていなかった場合に発生します
@raise Net::SMTPUnknownError SMTPエラーコードがプロトコル上不正な場合に発生します
@see Net::SMTP#send_message... -
Net
:: IMAP :: Envelope # message _ id -> String | nil (6218.0) -
message_id を文字列で返します。
...message_id を文字列で返します。
エンベロープに存在しないときは nil を返します。... -
GetoptLong
# error _ message -> String | nil (6202.0) -
現在のエラーのエラーメッセージを返します。エラーが発生していな ければ、nil を返します。
現在のエラーのエラーメッセージを返します。エラーが発生していな
ければ、nil を返します。 -
WIN32OLE
_ EVENT . message _ loop -> () (6143.0) -
Windowsのメッセージポンプを実行します。
...Windowsのメッセージポンプを実行します。
message_loopメソッドは、Windowsメッセージがキューイングされている限りメッ
セージの読み出しとディスパッチを実行します。
COMのスレッド間/プロセス間通信はスレッド内で呼び出......ation.1')
event = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
b = false
event.on_event('DocumentComplete') do |disp, uri|
disp.document.getElementsByTagName('a').each do |e|
puts "#{e.innerHTML}=#{e.href}" #=> ダウンロード=http://www.ruby-lang.org/ja/downloads/ など
en......d
disp.quit
b = true
end
ie.Navigate2 'http://www.ruby-lang.org/ja/'
loop do
break if b
WIN32OLE_EVENT.message_loop
end
なお、メソッド名はloopですが、呼び出し時および既にキューイングされたメッ
セージの処理中にキューされたメッ... -
Net
:: IMAP :: BodyTypeMessage # body -> Net :: IMAP :: BodyTypeBasic | Net :: IMAP :: BodyTypeMessage | Net :: IMAP :: BodyTypeText | Net :: IMAP :: BodyTypeMultipart (3403.0) -
ボディを返します。
ボディを返します。 -
Net
:: IMAP :: BodyTypeMessage # language -> String | [String] | nil (3202.0) -
1766 で定義されているボディ言語を表わす 文字列もしくは文字列の配列を返します。
1766 で定義されているボディ言語を表わす
文字列もしくは文字列の配列を返します。 -
Net
:: SMTP # ready(from _ addr , *to _ addrs) {|f| . . . . } -> () (3127.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: test mail'......TPエラーコード5xxの場合に発生します
@raise Net::SMTPAuthenticationError 送信に必要な認証を行っていなかった場合に発生します
@raise Net::SMTPUnknownError SMTPエラーコードがプロトコル上不正な場合に発生します
@see Net::SMTP#send_message... -
Net
:: SMTP # send _ message(mailsrc , from _ addr , *to _ addrs) -> () (3113.0) -
メールを送信します。
..._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 は obs...