custom logo issue for payment emails

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
antonlinderer
Posts: 42
Joined: 14 Sep 2017, 09:59

Re: custom logo issue for payment emails

Post by antonlinderer » 26 Jan 2018, 11:56

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

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: custom logo issue for payment emails

Post by aimeos » 26 Jan 2018, 14:53

You are right, the parameter order was wrong. We've released a new version with that problem fixed.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

antonlinderer
Posts: 42
Joined: 14 Sep 2017, 09:59

Re: custom logo issue for payment emails

Post by antonlinderer » 28 Jan 2018, 11:57

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.

Post Reply