BCC-Mail is not sent

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: BCC-Mail is not sent

Post by Moritz » 18 Jan 2023, 10:23

Code: Select all

plugin.tx_aimeos.settings.i18n.en {
    0 {
        domain = client/code
        string = download
        trans = File
    }
}
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

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

Re: BCC-Mail is not sent

Post by aimeos » 18 Jan 2023, 10:38

Seems to be correct besides that you don't need the "plugin.tx_aimeos.settings." prefix in the TSConfig field of the scheduler task. Remember, that this translation can be only available in the job controller that is executed by the scheduler task.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: BCC-Mail is not sent

Post by Moritz » 18 Jan 2023, 10:44

I have a scheduler task that executes the two jobs order/email/payment and order/service/delivery.
In the payment email the translation works.
In my own delivery service provider the translation don't work.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

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

Re: BCC-Mail is not sent

Post by aimeos » 18 Jan 2023, 10:48

Maybe you can't use "client/html" as translation domain in job controllers.
You can try to use "'controller/jobs'" translation domain in your code and your TSConfig instead.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: BCC-Mail is not sent

Post by Moritz » 18 Jan 2023, 10:57

I use client/html as simple example.
My delivery service provider renders a template like the standard Email provider.
In the template I call the translation function for the address.

Code: Select all

$this->translate('controller/jobs', '%1$s
%2$s %3$s %4$s %5$s
%6$s %7$s
%8$s
%9$s %10$s
%11$s
%12$s
%13$s
%14$s
%15$s
%16$s
%17$s
%18$s
')
Other translations from controller/jobs also doesn't work.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

Post Reply