mirror of
https://github.com/KumoCorp/kumomta.git
synced 2026-08-19 08:01:07 +00:00
1fb712e2bf
This method allows replacing the message payload arbitrarily. This is a building block for more advanced and convenient modification operations. refs: https://github.com/KumoCorp/kumomta/issues/117 refs: https://github.com/KumoCorp/kumomta/issues/120
12 lines
342 B
Markdown
12 lines
342 B
Markdown
# `message:set_data(payload)`
|
|
|
|
{{since('dev')}}
|
|
|
|
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)
|