Page 2 of 2

Re: custom logo issue for payment emails

Posted: 26 Jan 2018, 11:56
by antonlinderer
Sorry!... I didn't check it properly. Although the logo html is included it is using the wrong parameters.
https://github.com/aimeos/ai-swiftmaile ... t.php#L206
should be:
$part = new \Swift_EmbeddedFile( $data, $filename , $mimetype);
according to:
http://apigen.juzna.cz/doc/swiftmailer/ ... dFile.html

Re: custom logo issue for payment emails

Posted: 26 Jan 2018, 14:53
by aimeos
You are right, the parameter order was wrong. We've released a new version with that problem fixed.

Re: custom logo issue for payment emails

Posted: 28 Jan 2018, 11:57
by antonlinderer
I have also added a pull request at https://github.com/aimeos/ai-swiftmailer as there is still an issue with correct detection of HTML and text for emails.