Project

General

Profile

Actions

Bug #71752

closed

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

Added by Martin Weymayer about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-11-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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>'));

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

Actions

Also available in: Atom PDF