Adds a text part to a MultipartMessage.

Syntax

PROCEDURE addTextPart. 
DEFINE INPUT PARAMETER charString        AS CHARACTER.
DEFINE INPUT PARAMETER contentTypeString AS CHARACTER.
DEFINE INPUT PARAMETER contentIDString   AS CHARACTER.

Applies to

Message objects

Notes

The method resembles addBytesPart procedure except that it takes a CHARACTER string instead of a MEMPTR.

See also

createMultipartMessage procedure, addBytesPart procedure, addMessagePart procedure, isMessagePart function, getContentType, getPartCount function, getMessagePartByID function, getMessagePartByIndex function, writeBytesFromRaw procedure, readBytesToRaw procedure, setMemptr procedure, getMemptr function

For more information, see the MultipartMessage and the MultiPartMessage example.