class Athena::MIME::Header::MailboxList
- Athena::MIME::Header::MailboxList
- Athena::MIME::Header::Abstract(Array(Athena::MIME::Address))
- Reference
- Object
Overview
Represents a Mailbox MIME Header for something like from
, to
, cc
, or bcc
(one or more named address).
Defined in:
header/mailbox_list.crConstructors
Instance Method Summary
-
#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.
Instance methods inherited from class Athena::MIME::Header::Abstract(Array(Athena::MIME::Address))
body : T(Athena::MIME::Address)
body,
body=(body : T(Athena::MIME::Address))
body=,
charset : String
charset,
charset=(charset : String)
charset=,
clone
clone,
lang : String | Nil
lang,
lang=(lang : String | Nil)
lang=,
max_line_length : Int32
max_line_length,
max_line_length=(max_line_length : Int32)
max_line_length=,
name : String
name
Constructor methods inherited from class Athena::MIME::Header::Abstract(Array(Athena::MIME::Address))
new(name : String)
new
Instance methods inherited from module Athena::MIME::Header::Interface
body
body,
body=(body)
body=,
body_to_s : String
body_to_s,
max_line_length : Int32
max_line_length,
max_line_length=(max_line_length : Int32)
max_line_length=,
name : String
name,
to_s(io : IO) : Nil
to_s
Constructor Detail
Instance Method Detail
def add_addresses(addresses : Array(AMIME::Address)) : Nil
#
Adds the provided addresses to use in the value of this header.
def address_strings : Array(String)
#
Returns the full mailbox list of this Header as an array of valid RFC 2822 strings.