TextPart.newWithSubtype

gmime.text_part.TextPart newWithSubtype(string subtype)

Creates a new text MIME part with a sepcified subtype.

Parameters

subtypetextual subtype string

Returns

an empty text MIME part object with the specified subtype.