Issue Bug Closed

#71752Attach the message with a "cid" $cid = $mail->embed(\Swift_Image::fromPath('<path/to/image.png>')); not working

Martin Weymayer 11/21/15, 13:59 updated 11/21/15, 16:44

Description

if i try to embed cid image in email an error occures (typo3 7.5 and 7.6):
//Attach the message with a “cid“
$cid = $mail->embed(\Swift_Image::fromPath(’<path to image.png>‘));</path>

Fatal error: Call to undefined method TYPO3\CMS\Fluid\View\StandaloneView::embed() in /home/xxx/public_html/xxx/typo3conf/ext/xxx/Classes/Controller/XxxxController.php on line 123

normal email senden works perfectly.

martin

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.