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

custom logo issue for payment emails

Post by antonlinderer » 24 Jan 2018, 08:54

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

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

Re: custom logo issue for payment emails

Post by aimeos » 24 Jan 2018, 21:52

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
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 » 24 Jan 2018, 22:00

That's my point...in the composer.lock it is defined as:
"swiftmailer/swiftmailer": ">=4.0"

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

Re: custom logo issue for payment emails

Post by aimeos » 24 Jan 2018, 22:06

We've released a new version a few minutes ago. Did you already update?
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 » 24 Jan 2018, 22:10

just did a "composer update" but there are no updates yet...

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

Re: custom logo issue for payment emails

Post by aimeos » 24 Jan 2018, 22:12

It might take some minutes but it's already on packagist:
https://packagist.org/packages/aimeos/a ... #2017.10.2
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 » 24 Jan 2018, 22:15

ok thanks for your support.... will try some time later.

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

Re: custom logo issue for payment emails

Post by antonlinderer » 25 Jan 2018, 08:24

update is not working as there is probably a conflict with laravel/framework which uses swiftmailer/swiftmailer: ~6.0

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

Re: custom logo issue for payment emails

Post by aimeos » 25 Jan 2018, 13:22

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.
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 » 25 Jan 2018, 14:57

Thanks! Now it is working.

Post Reply