Skip to content

message:set_data(payload)

Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

Replaces the message body/data completely. It is your responsibility to ensure that the content is well-formed, has canonical CRLF line endings, and uses appropriate transfer-encoding, otherwise the system will misbehave when delivering the message.

See also: * msg:get_data()