type
TextPart
src
@Serializable
class TextPart : EmailPart
TextPart is used to model email parts with a text MIME type. The default is "text/plain".
constructors
make |
Construct with default type of "text/plain". |
---|
fields
text |
Text body of the email part. |
---|
methods
encode |
Encode as a MIME message according to RFC 822. |
---|---|
validate |
Validate this part - throw Err if not configured correctly |
Slot Details
encode
make
src
new make()
Construct with default type of "text/plain".