class

Athena::MIME::Header::MailboxList

Inherits Athena::MIME::Header::Abstract < Athena::MIME::Header::Interface < Reference < Object

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))
Source

Instance methods

add_addresses(addresses : Array(AMIME::Address)) : Nil

Adds the provided addresses to use in the value of this header.

Source
address_strings

Returns the full mailbox list of this Header as an array of valid RFC 2822 strings.

Source
body

Returns the body of this header.

Source
body=(body : Array(AMIME::Address))

Sets the body of this header.

Source