I was asking the same question on TYPO3Slack and the Powermail Git, but no answers so far.
TYPO3 v10, Powermail V8.5.1 (will be upgraded soon, I promise ;))
Is it possible to use a field multiple times to get more than one receiver? The Predefined receivers example works so far, but I was wondering if it is possible to do something like this:
emailA = CASE
emailA {
key.data = GP:tx_powermail_pi1|field|fieldA
12345678=TEXT
[email protected]
default = TEXT
default.value = [email protected]
}
#now checking the same field again:
emailB = CASE
emailB {
key.data = GP:tx_powermail_pi1|field|fieldA
key.stdWrap.crop = 3 | | 0
123 = TEXT
123.value = [email protected]
default = TEXT
default.value = [email protected]
}
# now make a list of mails to be sent
plugin.tx_powermail.settings.setup.receiver.predefinedReceiver.receivers1.email = {emailA.value},{emailB.value}
The code is just a mockup and does not work. But would it be possible?
1