[BUGFIX] Sending fails on multiple email-addresses 05/17505/10
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 13 Jan 2013 13:57:44 +0000 (14:57 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 31 Mar 2013 16:46:26 +0000 (18:46 +0200)
commite831738dbb44a2f25f6c41d5c6e8045fd98ef2d6
tree605ab1ff4ac1eec29082fc1782c0605f3f258e35
parent4ef3d84b310429bf395a45746c329a457aefc8b9
[BUGFIX] Sending fails on multiple email-addresses

Specifying multiple recipients (To or CC) for emails
leads to an error upon form-submit without further explanation.
This patch implements validation for multiple email addresses of
which only the valid ones are then returned.
The sending-API can already handle multiple recipients.

Change-Id: I59b65adc4e09d298167738778c17d310b8ecce47
Fixes: #44485
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17505
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Tested-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/form/Classes/PostProcess/MailPostProcessor.php
typo3/sysext/form/Tests/Unit/PostProcess/MailPostProcessorTest.php [new file with mode: 0644]