Payment mail multiple bcc recipients

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!
columbo
Advanced
Posts: 126
Joined: 09 Oct 2019, 09:42

Payment mail multiple bcc recipients

Post by columbo » 31 Mar 2023, 08:53

I'm trying to send payment mails to multiple bcc recipients

in shop.php:

Code: Select all

'jobs' => [
  'order' => [
    'email' => [
      'payment' => [
        'bcc-email' => ['mail1@gmx.com','mail2@gmx.com'],
      ],
    ],
  ],
],
But email is sent to last recipient (mail2@gmx.com) only. I tried with ' , " as string, array - nothing worked
what's wrong?

thank you!

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

Re: Payment mail multiple bcc recipients

Post by aimeos » 02 Apr 2023, 12:10

The Mail trait for job controllers only support one BCC address at the moment:
https://github.com/aimeos/ai-controller ... l.php#L100

If you can create a PR to support multiple BCC addresses, we will merge it :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply