class Net::IMAP::Envelope

Net::IMAP::Envelope represents envelope structures of messages.

Note

When the sender and reply_to fields are absent or empty, they will return the same value as from. Also, fields may return values that are invalid for well-formed [RFC5322] messages when the message is malformed or a draft message.

See [IMAP4rev1 §7.4.2] and [IMAP4rev2 §7.5.2] for full description of the envelope fields, and Message envelope and body structure at Net::IMAP for other relevant RFCs.

Returned by FetchData#envelope