Skip to content

class Athena::MIME::Part::Message
inherits Athena::MIME::Part::Data #

Represents a part that encapsulates an AMIME::Message.

Constructors#

.new(message : AMIME::Message)#

Methods#

#body : String#

Returns the raw contents of this part as a string. Use #body_to_s to get a properly encoded representation.

#body_to_s : String#

Returns a string representation of the body of this part, excluding any headers.

#media_sub_type : String#

:inherit:

#media_type : String#

Returns the media type of this part based on its body.