gmime.text_part
Module for [TextPart] class
Types 3
classTextPart : gmime.part.Part
A text MIME part object.
Methods
TextPartGidBuilder builder()Get builder for [gmime.text_part.TextPart] Returns: New builder objectgmime.text_part.TextPart newWithSubtype(string subtype)Creates a new text MIME part with a sepcified subtype.string getCharset()Gets the value of the charset parameter on the Content-Type header. Returns: the value of the charset parameter or null if unavailable.string getText()Gets 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)Sets the charset parameter on the Content-Type header to the specified value.void setText(string text)Sets the specified text as the content and updates the charset parameter on the Content-Type header.classTextPartGidBuilderImpl(T) : gmime.part.PartGidBuilderImpl!T