Files
kumomta/docs/reference/mimepart/append_part.md
T
Wez Furlong 1bf9d138ce extended lua mime parsing API
refs: https://github.com/KumoCorp/kumomta/issues/117

Could also make it possible to do eg:
https://github.com/KumoCorp/kumomta/issues/142
without any explicit direct support in the product.
2025-09-09 09:15:58 +01:00

651 B

append_part

mimepart:append_part(PART)

{{since('dev')}}

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.