TextPart.setCharset

void setCharset(string charset) nothrow

Sets the charset parameter on the Content-Type header to the specified value.

Parameters

charsetthe name of the charset