TextPart.setText

Sets the specified text as the content and updates the charset parameter on the Content-Type header.

class TextPart
void
setText
(
string text
)

Parameters

text string

the text in utf-8