Files
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

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)