36件ヒット
[1-36件を表示]
(0.032秒)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (12) -
ruby 1
. 8 . 2 feature (12)
検索結果
-
net
/ imap (38024.0) -
このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。
...る。
require 'net/imap'
imap = Net::IMAP.new('mail.example.com')
imap.authenticate('LOGIN', 'joe_user', 'joes_password')
imap.examine('INBOX')
imap.search(["RECENT"]).each do |message_id|
envelope = imap.fetch(message_id, "ENVELOPE")[0].attr["ENVELOPE"]
puts "#{envelope.from[0].......name}: \t#{envelope.subject}"
end
2003年4月のメールをすべて Mail/sent-mail から "Mail/sent-apr03" へ移動させる
require 'net/imap'
imap = Net::IMAP.new('mail.example.com')
imap.authenticate('LOGIN', 'joe_user', 'joes_password')
imap.select('Mail/sent-mail')
if not ima......[:Deleted])
end
imap.expunge
=== スレッド安全性
Net::IMAP は並列実行をサポートしています。例として、
require 'net/imap'
imap = Net::IMAP.new("imap.foo.net", "imap2")
imap.authenticate("cram-md5", "bar", "password")
imap.select("inbox")
fetch_thread = Thre... -
ruby 1
. 8 . 2 feature (30.0) -
ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。
...))
$ ruby1.8.1 -e "puts '# #{}'.inspect"
"# #{}"
$ ruby1.8.2 -e "puts '# #{}'.inspect"
"# \#{}"
: String#dump [ruby] [bug]
式展開にならない '#'がエスケープされないようになりました。
((<ruby-core:03922>))
$ ruby1.8.1 -e "puts '# #{}'.dump"
"\#......\#{}"
$ ruby1.8.2 -e "puts '# #{}'.dump"
"# \#{}"
=== 2004-12-08
: rss/rss [lib] [obsolete]
#item=/#set_item and so on are obsolete.
=== 2004-12-06
: Hash#hash [ruby] [new]
追加
((<ruby-talk:122482>))
Hash#hash は 2004-12-16 に削除されました。
((<ruby-dev:25206>......。((<ruby-list:39102>))
=== 2004-06-29
: misc
$SAFEが保存されない問題を修正しました。((<ruby-dev:23829>))
=== 2004-06-23
: net/imap [lib] [new]
added new option --ssl
=== 2004-06-16
: object.c [ruby] [bug]
特異クラスが特異オブジェクトのクラスを継... -
NEWS for Ruby 2
. 0 . 0 (12.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...対パ スで返します。
* 追加: Kernel.#caller_locations フレーム情報の配列を返します
* 拡張: Kernel.#warn Kernel.#puts のように複数の引数を受け付けるようになりました
* 拡張: Kernel.#caller 第2引数で取得するスタックのサイズ......追加: Net::HTTP#local_port
* 追加: Net::HTTP#local_port=
* 拡張: Net::HTTP#connect uses local_host and local_port if specified.
* net/imap
* 追加: Net::IMAP.default_port
* 追加: Net::IMAP.default_imap_port
* 追加: Net::IMAP.default_tls_port
* 追加: Net::IMAP....