Email models a top level MIME message.
See docLib for details. See docCookbook for coding examples.
Slots
- bccSource
-
Str[]? bccList of "bcc" email addresses.
- bodySource
-
EmailPart bodyBody of the email - typically an instance of
TextPartorMultiPart. - ccSource
-
Str[]? ccList of "cc" email addresses.
- encodeSource
-
virtual Void encode(OutStream out)Encode as a MIME message according to RFC 822.
- fromSource
-
Str fromFrom email address.
- messageIdSource
-
Str messageId := ...Unique identifier for message (auto-generated).
- recipientsSource
-
Str[] recipients() - subjectSource
-
Str subject := ""Subject of the email. This string can be any Unicode and is automatically translated into an encoded word.
- toSource
-
Str[]? toList of "to" email addresses.
- validateSource
-
virtual Void validate()Validate this email message - throw Err if not configured correctly.