MJML

Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
User avatar
aimeos
Administrator
Posts: 3553
Joined: 01 Jan 1970, 00:00

Re: MJML

Post by aimeos » 19 Aug 2019, 08:55

Did you have a look into the Log panel in the admin interface if there are any errors logged?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cnoelker
Posts: 59
Joined: 20 Feb 2016, 18:21

Re: MJML

Post by cnoelker » 19 Aug 2019, 10:19

There are entries like this:
Error while trying to send payment e-mail for order ID "38" and status "5": View object not available

thrown in setView() in
Resources/Libraries/aimeos/aimeos-core/lib/mshoplib/src/MShop/Context/Item/Standard.php

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

Re: MJML

Post by aimeos » 19 Aug 2019, 11:05

Running the order e-mail job controllers via typo3 console won't work at the moment but you can also run single scheduler tasks by adding the appropriate CLI parameters
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cnoelker
Posts: 59
Joined: 20 Feb 2016, 18:21

Re: MJML

Post by cnoelker » 19 Aug 2019, 11:14

Okay, this is a workaround.
Please let me know when the problem is fixed.

cnoelker
Posts: 59
Joined: 20 Feb 2016, 18:21

Re: MJML

Post by cnoelker » 19 Aug 2019, 11:52

The problem with this workaround: It works only once, because the job is deactivated after it was started.
And if the job is deactivated, then you can't start it again. :?

Then I would like to set the mail parameters, like this:
plugin.tx_aimeos.settings.client.html.email.from-email = somemail@mydomain.de
plugin.tx_aimeos.settings.client.html.email.reply-email = somemail@mydomain.de
plugin.tx_aimeos.settings.client.html.email.payment.from-email = somemail@mydomain.de
plugin.tx_aimeos.settings.client.html.email.payment.from-name = SomeOne
plugin.tx_aimeos.settings.client.html.email.payment.reply-email = somemail@mydomain.de

No effect at all. Did I get anything of the documentation wrong?
https://aimeos.org/docs/Configuration/C ... ail#common

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

Re: MJML

Post by aimeos » 19 Aug 2019, 12:01

Use

Code: Select all

vendor/bin/typo3 scheduler:run -f -i <task id>
"plugin.tx_aimeos.settings..." is frontend only. TYPO3 doesn't have a way to set scheduler configuration for the command line. You can add the settings to the ./Resources/Private/Extensions/<extname>/config/client.php configuration file in your Aimeos extension for the project.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cnoelker
Posts: 59
Joined: 20 Feb 2016, 18:21

Re: MJML

Post by cnoelker » 19 Aug 2019, 13:21

Thank you, setting the from-name and other values works now.

The workaround works for me, too, because I extented my script to activate the scheduler task before it is called.

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

Re: MJML

Post by aimeos » 19 Aug 2019, 16:11

The view object is now part of the context and running

Code: Select all

./vendor/bin/typo3 aimeos:jobs order/email/payment default
*should* work (depending on your settings).
Use can test using "aimeos/aimeos-typo3": "2019.07.x-dev" in your composer.json and run "composer update" afterwards.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply