class

MailCatcher::MimePart

Inherits Reference < Object

MIME part representation

Constructors

new(mime_type : String = "text/plain", body : Bytes = Bytes.empty, cid : String | Nil = nil, charset : String | Nil = nil, filename : String | Nil = nil, is_attachment : Bool = false)
Source

Instance methods

body
Source
body=(body : Bytes)
Source
body_string
Source
charset
Source
charset=(charset : String | Nil)
Source
cid=(cid : String | Nil)
Source
filename
Source
filename=(filename : String | Nil)
Source
is_attachment
Source
is_attachment=(is_attachment : Bool)
Source
mime_type
Source
mime_type=(mime_type : String)
Source
size
Source