class Athena::MIME::Header::MailboxList
inherits Athena::MIME::Header::Abstract
#
Represents a Mailbox MIME Header for something like from
, to
, cc
, or bcc
(one or more named address).
Constructors#
.new(name : String, value : Array(AMIME::Address))
#
Methods#
#add_addresses(addresses : Array(AMIME::Address)) : Nil
#
Adds the provided addresses to use in the value of this header.
#address_strings : Array(String)
#
Returns the full mailbox list of this Header as an array of valid RFC 2822 strings.
#body : Array(AMIME::Address)
#
Returns the body of this header.
#body=(body : Array(AMIME::Address))
#
Sets the body of this header.