class

Mail::CommonAddressField

Inherits Mail::NamedStructuredField < Mail::StructuredField < Mail::CommonField < Reference < Object

Constructors

new(value = nil, charset = nil)
Source

Class methods

singular?
Source

Instance methods

<<(val)
Source
address
Source
addresses

Returns the address string of all the addresses in the address list

Source
addrs

Returns the actual address objects in the address list

Source
decoded_group_addresses

Returns a list of decoded group addresses

Source
default
Source
display_names

Returns the display name of all the addresses in the address list

Source
do_decode
Source
do_encode
Source
each

Allows you to iterate through each address object in the address_list

Source
element
Source
encode_if_needed(val, val_charset = charset)
Source
encoded_group_addresses

Returns a list of encoded group addresses

Source
formatted

Returns the formatted string of all the addresses in the address list

Source
get_group_addresses(group_list)
Source
group_addresses

Returns the addresses that are part of groups

Source
group_names

Returns the name of all the groups in a string

Source
groups

Returns a hash of group name => address strings for the address list

Source
utf8_if_needed(val, val_charset)

Pass through UTF-8 addresses

Source