Page 1 of 2

custom logo issue for payment emails

Posted: 24 Jan 2018, 08:54
by antonlinderer
I have set up a custom logo absolute path in config/shop.php for payment emails but when I run a cron job for emails I receive an error message as follows:
In Swift.php line 206:
Call to undefined method Swift_EmbeddedFile::newInstance()

I am using aimeos 2017.10

Re: custom logo issue for payment emails

Posted: 24 Jan 2018, 21:52
by aimeos
Unbound composer version constraints like ">=4.0" are a great way to get in trouble later ...
If you execute "composer update" you will get Swiftmailer 5.x with works with 2017.10

Re: custom logo issue for payment emails

Posted: 24 Jan 2018, 22:00
by antonlinderer
That's my point...in the composer.lock it is defined as:
"swiftmailer/swiftmailer": ">=4.0"

Re: custom logo issue for payment emails

Posted: 24 Jan 2018, 22:06
by aimeos
We've released a new version a few minutes ago. Did you already update?

Re: custom logo issue for payment emails

Posted: 24 Jan 2018, 22:10
by antonlinderer
just did a "composer update" but there are no updates yet...

Re: custom logo issue for payment emails

Posted: 24 Jan 2018, 22:12
by aimeos
It might take some minutes but it's already on packagist:
https://packagist.org/packages/aimeos/a ... #2017.10.2

Re: custom logo issue for payment emails

Posted: 24 Jan 2018, 22:15
by antonlinderer
ok thanks for your support.... will try some time later.

Re: custom logo issue for payment emails

Posted: 25 Jan 2018, 08:24
by antonlinderer
update is not working as there is probably a conflict with laravel/framework which uses swiftmailer/swiftmailer: ~6.0

Re: custom logo issue for payment emails

Posted: 25 Jan 2018, 13:22
by aimeos
Good point. We've backported the changes to 2017.10 and allowed swiftmailer:~6.0 in the composer.json. Now you should be able to get a working version.

Re: custom logo issue for payment emails

Posted: 25 Jan 2018, 14:57
by antonlinderer
Thanks! Now it is working.