msg:text

March 26, 2020 Contributors

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

msg:text