Skip to main content

Name

msg:text — Replace the entire message body

Synopsis

msg:text(value, type, charset);

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

Description

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?