Config for multiple BCC-Mails?
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Config for multiple BCC-Mails?
Hi,
in the Aimeos Docu (https://aimeos.org/docs/latest/config/c ... cc-email_1) it says:
I tried to set this in the TYPO3 extension (planner/cronjob settings). When I state one email address it works, but what is the supposed way to state it there as an array for multiple adresses?
I tried the TypoScript Array way
, but then the job fails. I tried other variants like
bcc-email = COA
bcc-email.10 = text
bcc-email.10.value = my@addre.ss
as well, but this also didn't work.
I realize that the bcc-option is not recommended anyway, but in this particular setup is needed to send the mail to other addresses beside the customer.
thank you again for any hints
in the Aimeos Docu (https://aimeos.org/docs/latest/config/c ... cc-email_1) it says:
Code: Select all
Type: string|array - E-mail address or list of e-mail addresses
Code: Select all
…bcc-email= my@addre.ss
I tried the TypoScript Array way
Code: Select all
…bcc-email.10 = my@addre.ss
…bcc-email.20 = other@add.ress
bcc-email = COA
bcc-email.10 = text
bcc-email.10.value = my@addre.ss
as well, but this also didn't work.
I realize that the bcc-option is not recommended anyway, but in this particular setup is needed to send the mail to other addresses beside the customer.
thank you again for any hints
Re: Config for multiple BCC-Mails?
Webrocker wrote: ↑22 Jan 2024, 11:21 I tried the TypoScript Array way, but then the job fails.Code: Select all
…bcc-email.10 = my@addre.ss …bcc-email.20 = other@add.ress
Code: Select all
controller.jobs.order.email.payment.bcc-email {
0 = my@addre.ss
1 = other@add.ress
}
- https://github.com/aimeos/ai-typo3/blob ... #L118-L135
- https://api.typo3.org/12.4/class_t_y_p_ ... ssage.html
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Config for multiple BCC-Mails?
aimeos wrote: ↑23 Jan 2024, 11:20Webrocker wrote: ↑22 Jan 2024, 11:21 I tried the TypoScript Array way, but then the job fails.Code: Select all
…bcc-email.10 = my@addre.ss …bcc-email.20 = other@add.ress
This should be correct but maybe the underlying Symfony Mailer package doesn't work as expected. Normally I would say, these lines of code should be correct according to the docs:Code: Select all
controller.jobs.order.email.payment.bcc-email { 0 = my@addre.ss 1 = other@add.ress }
- https://github.com/aimeos/ai-typo3/blob ... #L118-L135
- https://api.typo3.org/12.4/class_t_y_p_ ... ssage.html
Thank you, this
Code: Select all
controller.jobs.order.email.payment.bcc-email {
0 = my@addre.ss
1 = other@add.ress
}