[BUGFIX] Sending fails on multiple email-addresses 63/19463/2
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 17:05:45 +0000 (19:05 +0200)
commitc8714f09ca3e41b9ae80b10d83e97e9ef52ac087
tree2d5e9848d0cb6c6895002fe36988c8e71615469e
parent18c28be39e860c6d704b96066c07cbc05fa1fce7
[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: Ia0a947e1ee7b4d9b352a297840b68ff489f71375
Fixes: #44485
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/19463
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]