getTextPartByID function

Retrieves a text part and returns the content type as a CHARACTER string.

Syntax

FUNCTION getTextPartByID RETURNS CHARACTER
  (INPUT contentID AS INTEGER, OUTPUT partBody AS CHARACTER).

Applies to

Message objects

Notes

  • This function converts the text part from UTF-8 to the SESSION:CPINTERNAL code page.
  • If the message body exceeds 32K, this function raises an error. To avoid this, use getBytesPartByID function.

See also

getBytesPartByID function, getMessagePartByID function, #rfi1387308612896

For more information, see MultipartMessage