class Athena::MIME::Message
- Athena::MIME::Message
- Reference
- Object
Overview
Provides a low-level API for creating an email.
See Creating Raw Email Message for more information.
Direct Known Subclasses
Defined in:
message.crConstructors
Instance Method Summary
-
#body : AMIME::Part::Abstract | Nil
Represents the
AMIME::Part
s that comprise this message. -
#body=(body : AMIME::Part::Abstract | Nil)
Represents the
AMIME::Part
s that comprise this message. -
#ensure_validity! : Nil
Asserts that this message is in a valid state to be sent, raising an
AMIME::Exception::Logic
error if not. -
#generate_message_id : String
Returns a string that uniquely represents this message.
-
#headers : AMIME::Header::Collection
Represents the
AMIME::Header
s a part of this message. -
#headers=(headers : AMIME::Header::Collection)
Represents the
AMIME::Header
s a part of this message. -
#prepared_headers : AMIME::Header::Collection
Returns a cloned
AMIME::Header::Collection
consisting of a final representation of the headers associated with this message.
Constructor Detail
Instance Method Detail
Represents the AMIME::Part
s that comprise this message.
Asserts that this message is in a valid state to be sent, raising an AMIME::Exception::Logic
error if not.
Represents the AMIME::Header
s a part of this message.
Returns a cloned AMIME::Header::Collection
consisting of a final representation of the headers associated with this message.
I.e. Ensures the message's headers include the required ones.