Actions
Bug #55922
closedBug with multiple e-mail adresses in scheduler task
Start date:
2014-02-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
There is a small bug in the scheduler task for the linkvalidator. You can enter multiple receipients seperated with comma but sending to them does not work. The mail object gets the original value from the input field with the commas as parameter and not the validated array with the adresses.
Source: typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validator.php ( Line: 458 )
if (is_array($validEmailList) && !empty($validEmailList)) { $mail->setTo($this->email); } else { $sendEmail = FALSE; }
This should be changed to:
if (is_array($validEmailList) && !empty($validEmailList)) { $mail->setTo($validEmailList); } else { $sendEmail = FALSE; }
Actions