Part.newWithType

gmime.part.Part newWithType(string type, string subtype)

Creates a new MIME Part with a sepcified type.

Parameters

typecontent-type string
subtypecontent-subtype string

Returns

an empty MIME Part object with the specified content-type.