class email::Email
sys::Obj email::Email
Email models a top level MIME message.
- bcc
-
Str[]? bccList of "bcc" email addresses. See MimeUtil.toAddrSpec for address formatting.
- body
-
EmailPart? bodyBody of the email - typically an instance of TextPart or MultiPart.
- cc
-
Str[]? ccList of "cc" email addresses. See MimeUtil.toAddrSpec for address formatting.
- encode
-
virtual Void encode(OutStream out)Encode as a MIME message according to RFC 822.
- from
-
Str? fromFrom email address. See MimeUtil.toAddrSpec for address formatting.
- msgId
-
Str msgId := ...Unique identifier for message (auto-generated).
- recipients
-
Str[] recipients() - replyTo
-
Str? replyToReply-To email address.
- subject
-
Str subject := ""Subject of the email. This string can be any Unicode and is automatically translated into an encoded word.
- to
-
Str[]? toList of "to" email addresses. See MimeUtil.toAddrSpec for address formatting.
- validate
-
virtual Void validate()Validate this email message - throw Err if not configured correctly.