るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.227秒)
トップページ > クエリ:I[x] > クエリ:E[x] > クエリ:Envelope[x] > クエリ:from[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. open3 capture2e
  4. matrix det_e
  5. matrix rank_e

ライブラリ

クラス

検索結果

Net::IMAP::Envelope#from -> [Net::IMAP::Address] | nil (27317.0)

From を Net::IMAP::Address オブジェクトの配列で返します。

...From を Net::IMAP::Address オブジェクトの配列で返します。

エンベロープに存在しないときは nil を返します。...

net/imap (12036.0)

このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。

...リは Internet Message Access Protocol (IMAP) の
クライアントライブラリです。2060 を元に
実装されています。

=== IMAP の概要

I
MAPを利用するには、まずサーバに接続し、
Net::IMAP#authenticate もしくは
Net::IMAP#login で認証します。
I
MAP で...
...(INBOX)の送り元とサブジェクトを表示する。
require 'net/imap'

i
map = Net::IMAP.new('mail.example.com')
i
map.authenticate('LOGIN', 'joe_user', 'joes_password')
i
map.examine('INBOX')
i
map.search(["RECENT"]).each do |message_id|
envelope
= imap.fetch(message_id, "ENVELOPE...
..."ENVELOPE"]
puts "#{envelope.from[0].name}: \t#{envelope.subject}"
e
nd

2003年4月のメールをすべて Mail/sent-mail から "Mail/sent-apr03" へ移動させる

require 'net/imap'

i
map = Net::IMAP.new('mail.example.com')
i
map.authenticate('LOGIN', 'joe_user', 'joes_password')
i
...