Class: Net::IMAP::Envelope
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::Envelope
- Defined in:
- lib/net/imap/response_data.rb
Overview
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 Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
Returned by FetchData#envelope
Instance Attribute Summary collapse
-
#bcc ⇒ Object
Returns the value of attribute bcc.
-
#cc ⇒ Object
Returns the value of attribute cc.
-
#date ⇒ Object
Returns the value of attribute date.
-
#from ⇒ Object
Returns the value of attribute from.
-
#in_reply_to ⇒ Object
Returns the value of attribute in_reply_to.
-
#message_id ⇒ Object
Returns the value of attribute message_id.
-
#reply_to ⇒ Object
Returns the value of attribute reply_to.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Attribute Details
#bcc ⇒ Object
Returns the value of attribute bcc
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def bcc @bcc end |
#cc ⇒ Object
Returns the value of attribute cc
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def cc @cc end |
#date ⇒ Object
Returns the value of attribute date
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def date @date end |
#from ⇒ Object
Returns the value of attribute from
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def from @from end |
#in_reply_to ⇒ Object
Returns the value of attribute in_reply_to
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def in_reply_to @in_reply_to end |
#message_id ⇒ Object
Returns the value of attribute message_id
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def @message_id end |
#reply_to ⇒ Object
Returns the value of attribute reply_to
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def reply_to @reply_to end |
#sender ⇒ Object
Returns the value of attribute sender
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def sender @sender end |
#subject ⇒ Object
Returns the value of attribute subject
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def subject @subject end |
#to ⇒ Object
Returns the value of attribute to
574 575 576 |
# File 'lib/net/imap/response_data.rb', line 574 def to @to end |