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