Project

General

Profile

Actions

Feature #67851

closed

Epic #69347: EXT:form - Optimize form wizard

EXT:form - Allow multiple recipient adresses in Form Wizard

Added by Jelle van Brenk over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2015-06-30
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions #1

Updated by Björn Jacob over 8 years ago

  • Category changed from Form Framework to 1602
Actions #2

Updated by Björn Jacob over 8 years ago

  • Category changed from 1602 to Form Framework
Actions #3

Updated by Björn Jacob over 8 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 :)

Actions #4

Updated by Björn Jacob over 8 years ago

  • Subject changed from Unable to set multiple recipient adresses in Form Wizard to Allow multiple recipient adresses in Form Wizard
Actions #5

Updated by Björn Jacob over 8 years ago

  • Parent task set to #69347
Actions #6

Updated by Björn Jacob over 8 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Björn Jacob over 8 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 and as well as (CC).

If it's still not working for you please (re-)open this/ another ticket.

Actions #8

Updated by Björn Jacob over 8 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?

Actions #9

Updated by Björn Jacob over 8 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.

Actions #10

Updated by Björn Jacob over 8 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
Actions #11

Updated by Björn Jacob about 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.

Actions

Also available in: Atom PDF