Class: Net::IMAP::Envelope

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap.rb

Overview

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

Fields:

date

Returns a string that represents the date.

subject

Returns a string that represents the subject.

from

Returns an array of Net::IMAP::Address that represents the from.

sender

Returns an array of Net::IMAP::Address that represents the sender.

reply_to

Returns an array of Net::IMAP::Address that represents the reply-to.

to

Returns an array of Net::IMAP::Address that represents the to.

cc

Returns an array of Net::IMAP::Address that represents the cc.

bcc

Returns an array of Net::IMAP::Address that represents the bcc.

in_reply_to

Returns a string that represents the in-reply-to.

message_id

Returns a string that represents the message-id.

Instance Attribute Summary collapse

Instance Attribute Details

#bccObject

Returns the value of attribute bcc

Returns:

  • (Object)

    the current value of bcc



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def bcc
  @bcc
end

#ccObject

Returns the value of attribute cc

Returns:

  • (Object)

    the current value of cc



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def cc
  @cc
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def date
  @date
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def from
  @from
end

#in_reply_toObject

Returns the value of attribute in_reply_to

Returns:

  • (Object)

    the current value of in_reply_to



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def in_reply_to
  @in_reply_to
end

#message_idObject

Returns the value of attribute message_id

Returns:

  • (Object)

    the current value of message_id



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def message_id
  @message_id
end

#reply_toObject

Returns the value of attribute reply_to

Returns:

  • (Object)

    the current value of reply_to



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def reply_to
  @reply_to
end

#senderObject

Returns the value of attribute sender

Returns:

  • (Object)

    the current value of sender



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def sender
  @sender
end

#subjectObject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def subject
  @subject
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



1675
1676
1677
# File 'lib/net/imap.rb', line 1675

def to
  @to
end