Part.newWithType

Creates a new MIME Part with a sepcified type.

class Part
static
newWithType
(
string type
,
string subtype
)

Parameters

type string

content-type string

subtype string

content-subtype string

Return Value

Type: gmime.part.Part

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