gmime.text_part
Module for [TextPart] class
Types 3
classTextPart : gmime.part.Part
A text MIME part object.
Methods
TextPartGidBuilder builder() static nothrowGet builder for [gmime.text_part.TextPart] Returns: New builder objectgmime.text_part.TextPart newWithSubtype(string subtype) static nothrowCreates a new text MIME part with a sepcified subtype.string getCharset() nothrowGets the value of the charset parameter on the Content-Type header. Returns: the value of the charset parameter or null if unavailable.string getText() nothrowGets the text content of the mime_part as a string. Returns: a newly allocated string containing the utf-8 encoded text content.void setCharset(string charset) nothrowSets the charset parameter on the Content-Type header to the specified value.void setText(string text) nothrowSets the specified text as the content and updates the charset parameter on the Content-Type header.classTextPartGidBuilderImpl(T) : gmime.part.PartGidBuilderImpl!T
Fluent builder implementation template for gmime.text_part.TextPart
Fluent builder for gmime.text_part.TextPart