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

View source

Methods#

#body : Array(String)#

Returns the body of this header.

View source

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

:inherit:

View source

#id : String | ::Nil#

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

View source

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

Sets the ID used in the value of this header.

View source

#ids : Array(String)#

View source

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

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

View source

#ids_as_addresses : Array(AMIME::Address)#

View source