TextPart.newWithSubtype

Creates a new text MIME part with a sepcified subtype.

class TextPart
static
newWithSubtype
(
string subtype
)

Parameters

subtype string

textual subtype string

Return Value

Type: gmime.text_part.TextPart

an empty text MIME part object with the specified subtype.