logo

abstract class

email::EmailPart

sys::Obj
  email::EmailPart

EmailPart is the base class for parts within a multipart MIME document.

See docLib for details. See docCookbook for coding examples.

Slots

encode

virtual Void encode(OutStream out)

Encode as a MIME message according to RFC 822. The base class encodes the headers - subclasses should override to call super and then encode the part's content.

Source

headers

Str:Str headers := true); }

Map of headers. The header map is case insensitive.

Source

validate

virtual Void validate()

Validate this part - throw Err if not configured correctly.

Source