Skip to content

class Athena::MIME::Header::Identification
inherits Athena::MIME::Header::Abstract #

Represents an ID MIME Header for something like message-id or content-id (one or more addresses).

Constructors#

.new(name : String, value : String | Array(String))#

Methods#

#body : Array(String)#

Returns the body of this header.

#body=(body : String | Array(String))#

:inherit:

#id : String | ::Nil#

Returns the ID used in the value of this header. If multiple IDs are set, only the first is returned.

#id=(id : String | Array(String)) : Nil#

Sets the ID used in the value of this header.

#ids : Array(String)#

#ids=(ids : Array(String)) : Nil#

Sets a collection of IDs to use in the value of this header.

#ids_as_addresses : Array(AMIME::Address)#