Class: Net::IMAP::Envelope

Inherits:
Struct 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)

Method Summary

Methods inherited from Struct

#pretty_print, #pretty_print_cycle, #to_yaml, yaml_new

Instance Attribute Details

- (Object) bcc

Returns the value of attribute bcc

Returns:

  • (Object)

    the current value of bcc



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def bcc
  @bcc
end

- (Object) cc

Returns the value of attribute cc

Returns:

  • (Object)

    the current value of cc



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def cc
  @cc
end

- (Object) date

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def date
  @date
end

- (Object) from

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def from
  @from
end

- (Object) in_reply_to

Returns the value of attribute in_reply_to

Returns:

  • (Object)

    the current value of in_reply_to



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def in_reply_to
  @in_reply_to
end

- (Object) message_id

Returns the value of attribute message_id

Returns:

  • (Object)

    the current value of message_id



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def message_id
  @message_id
end

- (Object) reply_to

Returns the value of attribute reply_to

Returns:

  • (Object)

    the current value of reply_to



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def reply_to
  @reply_to
end

- (Object) sender

Returns the value of attribute sender

Returns:

  • (Object)

    the current value of sender



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def sender
  @sender
end

- (Object) subject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def subject
  @subject
end

- (Object) to

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



1764
1765
1766
# File 'lib/net/imap.rb', line 1764

def to
  @to
end