Class: Net::IMAP::Address
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
          Struct
         | |
| Instance Chain: 
          self,
          Struct
         | |
| Inherits: | Struct 
 | 
| Defined in: | lib/net/imap/response_data.rb | 
Overview
Address represents an electronic mail address, which has been parsed into its component parts by the server.  Address objects are returned within Envelope fields.
Group syntax
When the #host field is nil, this is a special form of address structure that indicates the [RFC5322] group syntax.  If the #mailbox name field is also nil, this is an end-of-group marker (semicolon in RFC-822 syntax).  If the #mailbox name field is non-NIL, this is the start of a group marker, and the mailbox #name field holds the group name phrase.
Instance Attribute Summary
- 
    
      #host  
    
    rw
    Addressrepresents an electronic mail address, which has been parsed into its component parts by the server.
- 
    
      #mailbox  
    
    rw
    Addressrepresents an electronic mail address, which has been parsed into its component parts by the server.
- 
    
      #name  
    
    rw
    Addressrepresents an electronic mail address, which has been parsed into its component parts by the server.
- 
    
      #route  
    
    rw
    Addressrepresents an electronic mail address, which has been parsed into its component parts by the server.
Instance Attribute Details
#host (rw)
Address represents an electronic mail address, which has been parsed into its component parts by the server.  Address objects are returned within Envelope fields.
Group syntax
When the #host field is nil, this is a special form of address structure that indicates the [RFC5322] group syntax.  If the #mailbox name field is also nil, this is an end-of-group marker (semicolon in RFC-822 syntax).  If the #mailbox name field is non-NIL, this is the start of a group marker, and the mailbox #name field holds the group name phrase.
#mailbox (rw)
Address represents an electronic mail address, which has been parsed into its component parts by the server.  Address objects are returned within Envelope fields.
Group syntax
When the #host field is nil, this is a special form of address structure that indicates the [RFC5322] group syntax.  If the #mailbox name field is also nil, this is an end-of-group marker (semicolon in RFC-822 syntax).  If the #mailbox name field is non-NIL, this is the start of a group marker, and the mailbox #name field holds the group name phrase.
#name (rw)
Address represents an electronic mail address, which has been parsed into its component parts by the server.  Address objects are returned within Envelope fields.
Group syntax
When the #host field is nil, this is a special form of address structure that indicates the [RFC5322] group syntax.  If the #mailbox name field is also nil, this is an end-of-group marker (semicolon in RFC-822 syntax).  If the #mailbox name field is non-NIL, this is the start of a group marker, and the mailbox #name field holds the group name phrase.
#route (rw)
Address represents an electronic mail address, which has been parsed into its component parts by the server.  Address objects are returned within Envelope fields.
Group syntax
When the #host field is nil, this is a special form of address structure that indicates the [RFC5322] group syntax.  If the #mailbox name field is also nil, this is an end-of-group marker (semicolon in RFC-822 syntax).  If the #mailbox name field is non-NIL, this is the start of a group marker, and the mailbox #name field holds the group name phrase.