Skip to main content

Name

msg:text — Return the transfer decoded text for the body

Synopsis

msg:text(...);

...: mixed

Description

This function returns the transfer decoded text for the body, in UTF-8. Only parts that have a 'text' mime type will be included. If there are multiple text parts, they are returned as a table.

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

Was this page helpful?