Class: Net::IMAP::Envelope

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap/response_data.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



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def bcc
  @bcc
end

#ccObject

Returns the value of attribute cc

Returns:

  • (Object)

    the current value of cc



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def cc
  @cc
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def date
  @date
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def from
  @from
end

#in_reply_toObject

Returns the value of attribute in_reply_to

Returns:

  • (Object)

    the current value of in_reply_to



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

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



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def message_id
  @message_id
end

#reply_toObject

Returns the value of attribute reply_to

Returns:

  • (Object)

    the current value of reply_to



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def reply_to
  @reply_to
end

#senderObject

Returns the value of attribute sender

Returns:

  • (Object)

    the current value of sender



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def sender
  @sender
end

#subjectObject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def subject
  @subject
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



303
304
305
# File 'lib/net/imap/response_data.rb', line 303

def to
  @to
end