MultiPart
@Serializable
class MultiPart : EmailPart
MultiPart is used to model a multipart MIME type. The default is "multipart/mixed".
Construct with default type of "multipart/mixed"
The sub-parts of this multipart
Encode as a MIME message according to RFC 822
Validate this part - throw Err if not configured correctly
virtual Void encode(OutStream out)
Encode as a MIME message according to RFC 822.
new make()
Construct with default type of "multipart/mixed".
EmailPart[] : parts
The sub-parts of this multipart.
virtual Void validate()
Validate this part - throw Err if not configured correctly:
- must have at least one part
- Content-Type must be defined
- if Content-Type doesn't define boundary, one is auto-generated