TextPart.setText

void setText(string text) nothrow

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

Parameters

textthe text in utf-8