mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-19 02:48:18 +00:00
1bf9d138ce
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.
17 lines
380 B
Markdown
17 lines
380 B
Markdown
# set_data
|
|
|
|
```lua
|
|
message:set_data(payload)
|
|
```
|
|
|
|
{{since('2024.06.10-84e84b89')}}
|
|
|
|
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()](get_data.md)
|