public addStringEmbeddedImage ( string $string, string $cid, string $name = '', string $encoding = 'base64', string $type = '', string $disposition = 'inline' ) : boolean | ||
$string | string | The attachment binary data. |
$cid | string | Content ID of the attachment; Use this to reference the content when using an embedded image in HTML. |
$name | string | |
$encoding | string | File encoding (see $Encoding). |
$type | string | MIME type. |
$disposition | string | Disposition to use |
return | boolean | True on successfully adding an attachment |