config root man

Current Path : /usr/local/share/ri/1.8/system/Net/IMAP/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/share/ri/1.8/system/Net/IMAP/fetch-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Sends a FETCH command to retrieve data associated with a message in the mailbox. The <tt>set</tt> parameter is a number or an array of numbers or a Range object. The number is a message sequence number. <tt>attr</tt> is a list of attributes to fetch; see the documentation for Net::IMAP::FetchData for a list of valid attributes. The return value is an array of Net::IMAP::FetchData. For example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  p imap.fetch(6..8, &quot;UID&quot;)\n  #=&gt; [#&lt;Net::IMAP::FetchData seqno=6, attr={&quot;UID&quot;=&gt;98}&gt;, \\\n       #&lt;Net::IMAP::FetchData seqno=7, attr={&quot;UID&quot;=&gt;99}&gt;, \\\n       #&lt;Net::IMAP::FetchData seqno=8, attr={&quot;UID&quot;=&gt;100}&gt;]\n  p imap.fetch(6, &quot;BODY[HEADER.FIELDS (SUBJECT)]&quot;)\n  #=&gt; [#&lt;Net::IMAP::FetchData seqno=6, attr={&quot;BODY[HEADER.FIELDS (SUBJECT)]&quot;=&gt;&quot;Subject: test\\r\\n\\r\\n&quot;}&gt;]\n  data = imap.uid_fetch(98, [&quot;RFC822.SIZE&quot;, &quot;INTERNALDATE&quot;])[0]\n  p data.seqno\n  #=&gt; 6\n  p data.attr[&quot;RFC822.SIZE&quot;]\n  #=&gt; 611\n  p data.attr[&quot;INTERNALDATE&quot;]\n  #=&gt; &quot;12-Oct-2000 22:40:59 +0900&quot;\n  p data.attr[&quot;UID&quot;]\n  #=&gt; 98\n"
full_name: Net::IMAP#fetch
is_singleton: false
name: fetch
params: (set, attr)
visibility: public

Man Man