Skip to main content


msg:text — Replace the entire message body


msg:text(value, type, charset);

value: string
type: string, optional
charset: string, optional


The entire message body is replaced by the supplied text. The text will be converted to the specified charset and transfer encoding will be applied affecting the content-type and related headers of the message.

Enable this function with the statement require('msys.extended.message');.

See Also

Was this page helpful?