Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Mail::Message::Part
Inherits
Struct
<
Value
<
Object
Constructors
new
(type :
Type
, body :
Body
)
Source
new
(headers :
HTTP::Headers
, body :
IO
|
String
)
Source
Class methods
attachment
(filename :
String
, body :
IO
, content_type :
String
)
Source
html
(body)
Source
text
(body)
Source
Instance methods
body
Source
encode
(io :
IO
) :
Nil
Source
encoding
Source
headers
Source
Nested types
Mail::Message::Part::Body
Mail::Message::Part::Encoding
Mail::Message::Part::Type