Feature #67851
closedEpic #69347: EXT:form - Optimize form wizard
EXT:form - Allow multiple recipient adresses in Form Wizard
0%
Description
In Typo3 V4.5 it was possible to set multiple recipients of a mailform by entering multiple adresses comma-separated. However, in V6.2 we can't get it to work.
First thing we tried was the Mailform wizard, but this does not accept multiple 'send mail' post-processors ("The selected post processor is already present"). I believe it's possible to add multiple 'mail' post-processors in the code via the configuration field, but this is not very end-user (noob) friendly imho.
Also looked at the source code of TYPO3\CMS\Form\PostProcess. The function filterValidEmails() suggests it is possible to use a separator to create an array of addresses. However, function parseAddressList() in TYPO3\CMS\Core\\Mail\Rfc822AddressesParser has a 'while' loop (on line 191-193) which is being closed to early, effectively doing nothing with the _splitAddresses() result.
Updated by Björn Jacob over 9 years ago
- Category changed from Form Framework to 1602
Updated by Björn Jacob over 9 years ago
- Category changed from 1602 to Form Framework
Updated by Björn Jacob over 9 years ago
- Tracker changed from Bug to Feature
Right now I don't think that this is a bug. We'll look into this issue and decide if this will be tackled for 6.2 (since no features can be added anymore to LTS version). If you still think this is a bug please provide some more data and/or discuss it :)
Updated by Björn Jacob over 9 years ago
- Subject changed from Unable to set multiple recipient adresses in Form Wizard to Allow multiple recipient adresses in Form Wizard
Updated by Björn Jacob about 9 years ago
- Status changed from In Progress to Closed
- Assignee set to Jelle van Brenk
- % Done changed from 0 to 100
I've tested the issue with current master (7.5dev). I've used the following config:
postProcessor { 1 = mail 1 { senderEmail = your@email.com senderName = Sender Name subject = FormSelectTest recipientEmail = his@email.com,her@email.com ccEmail = our@email.com } }
The code above works as expected. Recipients are his@email.com and her@email.com as well as our@email.com (CC).
If it's still not working for you please (re-)open this/ another ticket.
Updated by Björn Jacob about 9 years ago
- Status changed from Closed to Needs Feedback
Just to get you right. Maybe I understood something wrong. Do you want to achieve this by using TypoScript or do you want to set multiple addresses using the wizard?
Updated by Björn Jacob about 9 years ago
- Status changed from Needs Feedback to New
- Assignee deleted (
Jelle van Brenk) - Target version set to 8 LTS
- PHP Version deleted (
5.4)
It works for TypoScript based forms. In version 8 we also have to implement this for the wizard.
Updated by Björn Jacob about 9 years ago
- Subject changed from Allow multiple recipient adresses in Form Wizard to EXT:form - Allow multiple recipient adresses in Form Wizard
- % Done changed from 100 to 0
Updated by Björn Jacob over 8 years ago
- Status changed from New to Closed
- Target version deleted (
8 LTS)
The form wizard will be rewritten in version 8. We will add this requirement to the roadmap. The current wizard will not be touched anymore.