Skip to content

append_part

mimepart:append_part(PART)
Since: Version 2025.10.06-5ec871ab

The functionality described in this section requires version 2025.10.06-5ec871ab of KumoMTA, or a more recent version.

Appends PART, which must also be a MimePart (perhaps created via kumo.mimpart.new_text or similar) to the set of child parts in mimepart.

This is potentially useful when constructing complex multipart messages. You are responsible for ensuring that the resulting mime tree makes logical sense; mimepart should have a Content-Type that is recognized as being a multipart container of some kind.

You might consider instead using kumo.mimepart.builder for a simpler message building experience.