class Net::IMAP::FetchData
Net::IMAP::FetchData
represents the contents of a FETCH
response. Net::IMAP#fetch
, Net::IMAP#uid_fetch
, Net::IMAP#store
, and Net::IMAP#uid_store
all return arrays of FetchData
objects, except when the UIDONLY
extension is enabled.
See FetchStruct
documentation for a list of standard message attributes.
Public Instance Methods
Source
# File lib/net/imap/fetch_data.rb, line 535
Each key specifies a message attribute, and the value is the corresponding data item. Standard data items have corresponding accessor methods. The definitions of each attribute type is documented on its accessor.
See FetchStruct
documentation for message attribute accessors.
- NOTE:
-
seqno
is not a message attribute.
Source
# File lib/net/imap/fetch_data.rb, line 521
The message sequence number.
- NOTE:
-
This is not the same as the unique identifier (UID), not even for the
Net::IMAP#uid_fetch
result. The UID is available from uid, if it was returned. - NOTE:
-
UIDFetchData
will raise a NoMethodError.