class

Athena::MIME::Part::Message

Inherits Athena::MIME::Part::Data < Athena::MIME::Part::Text < Athena::MIME::Part::Abstract < Reference < Object

Represents a part that encapsulates an AMIME::Message.

Constructors

new(message : AMIME::Message)
Source

Instance methods

body

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

Source
body_to_s

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

Source
media_sub_type

Returns the media sub-type of this part. E.g. pdf within application/pdf.

Source
media_type

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

Source