123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::Address

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap.rb

Overview

Address represents electronic mail addresses.

Fields:

name

Returns the phrase from [RFC-822] mailbox.

route

Returns the route from [RFC-822] route-addr.

mailbox

nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part.

host

nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name.

Instance Attribute Summary

  • #host rw

    Address represents electronic mail addresses.

  • #mailbox rw

    Address represents electronic mail addresses.

  • #name rw

    Address represents electronic mail addresses.

  • #route rw

    Address represents electronic mail addresses.

Instance Attribute Details

#host (rw)

Address represents electronic mail addresses.

Fields:

name

Returns the phrase from [RFC-822] mailbox.

route

Returns the route from [RFC-822] route-addr.

mailbox

nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part.

host

nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1965

Address = Struct.new(:name, :route, :mailbox, :host)

#mailbox (rw)

Address represents electronic mail addresses.

Fields:

name

Returns the phrase from [RFC-822] mailbox.

route

Returns the route from [RFC-822] route-addr.

mailbox

nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part.

host

nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1965

Address = Struct.new(:name, :route, :mailbox, :host)

#name (rw)

Address represents electronic mail addresses.

Fields:

name

Returns the phrase from [RFC-822] mailbox.

route

Returns the route from [RFC-822] route-addr.

mailbox

nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part.

host

nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1965

Address = Struct.new(:name, :route, :mailbox, :host)

#route (rw)

Address represents electronic mail addresses.

Fields:

name

Returns the phrase from [RFC-822] mailbox.

route

Returns the route from [RFC-822] route-addr.

mailbox

nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part.

host

nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1965

Address = Struct.new(:name, :route, :mailbox, :host)