Hallo Forum,
i would like to embed an image into my html-body.
My Problem is: I have already pre-produced an inline-CID (and stored it together with the picture-link as a pair in a DB) ... and would like to give to the picture. In PHPmailer is something like:
$mail->AddEmbeddedImage($array_serienbriefatta[att_pfad], $array_serienbriefatta[inline_cid], $array_serienbriefatta[att_pfad]);
In Swift-Mailer I know just this:
$cid = $message->embed(Swift_Image::fromPath('image.png'));
... wich produces the inline_cid. How can I give a CID to the Image analo to the phpmailer-example.
Thanx for your help (and sorry for my rotten english)
cid and embedded image
Moderators: Chris Corbyn, General Moderators