public function getMailMIME() { $result = '';
$ismultipart = true;
switch ($this->message_type
) { case 'inline':
$result .=
$this->
headerLine('Content-Type',
static::CONTENT_TYPE_MULTIPART_RELATED . ';'
);
$result .=
$this->
textLine(' boundary="' .
$this->boundary
[1
] . '"'
);
break;
case 'attach':
case 'inline_attach':
case 'alt_attach':
case 'alt_inline_attach':
$result .=
$this->
headerLine('Content-Type',
static::CONTENT_TYPE_MULTIPART_MIXED . ';'
);
$result .=
$this->
textLine(' boundary="' .
$this->boundary
[1
] . '"'
);
break;
case 'alt':
case 'alt_inline':
$result .=
$this->
headerLine('Content-Type',
static::CONTENT_TYPE_MULTIPART_ALTERNATIVE . ';'
);