17505[BUGFIX] Sending fails on multiple email-addresses
Commit message
Review
-
Code review CR +2
- Jigal van Hemert +2
- Christian Kuhn +1
-
Verified V +2
- Jigal van Hemert +2
- Stefan Neufeind +1
- Christian Kuhn +1
Files 2
Review log 39
Show 14 earlier messages
-
Stefan Neufeind commented on patch set 1 03/31/13, 16:46
(2 inline comments)MailPostProcessor.php:150Do we need to explicitly allow "NULL" here? Intention was to allow calling the function with a variable from the typoScript-array no matter if it is set or not and simply check in this function here.MailPostProcessor.php:190I don't want to hide that API-call was changed from AddCc to setCc. The swift-mailer-API used here has addCc (lowercase a) but that doesn't take an array as argument. So this can't be submitted as a separate change - or we would need to submit that change first. But I also think that in case you explicitly specify CC via typoScript you want to *set* that instead of *adding* it. (I assume that the swiftmailer-message will have an empty CC anyhow - but calling set makes it a bit clearer and consistent imho.) -
Stefan Neufeind commented on patch set 1 03/31/13, 16:46
Please note that in case this one is accepted, I'll add a documentation-fix to explicitly mention that multiple addresses can be comma-separated. -
Stefan Neufeind commented on patch set 1 03/31/13, 16:46
(2 inline comments) -
Stefan Neufeind uploaded patch set 2 03/31/13, 16:46
-
Stefan Neufeind uploaded patch set 3 03/31/13, 16:46
-
Stefan Neufeind commented on patch set 3 03/31/13, 16:46
(1 inline comment) somebody please have a look -
Stefan Neufeind uploaded patch set 4 03/31/13, 16:46
-
Stefan Neufeind commented on patch set 4 03/31/13, 16:46
just applied changes as Markus suggested. Please reapply votes. -
Markus Klein commented on patch set 1 03/31/13, 16:46
I would prefer that you didn't submit thisWHAT fails on multiple...?MailPostProcessor.php:148email addressesMailPostProcessor.php:150ReplyAFAIK using an unset index of the TS-array would give a NULL here but more a "", hence I'd opt for removing the NULL here.MailPostProcessor.php:151email addressesMailPostProcessor.php:155Invert condition and return immediately. Should be a simple guard.MailPostProcessor.php:156Attention: Namespaces!! --> GeneralUtlityMailPostProcessor.php:158same hereMailPostProcessor.php:178Remove "> 0"MailPostProcessor.php:190Reply+1MailPostProcessor.php:192Remove "> 0" -
Markus Klein commented on patch set 3 03/31/13, 16:46
Looks good to me, but someone else must approve -
Markus Klein commented on patch set 3 03/31/13, 16:46
(4 inline comments) -
Dmitry Dulepov commented on patch set 5 03/31/13, 16:46
Looks good to me, but someone else must approve -
Stefan Neufeind commented on patch set 5 03/31/13, 16:46
ping -
Stefan Neufeind uploaded patch set 6 03/31/13, 16:46
-
Stefan Neufeind commented on patch set 6 03/31/13, 16:46
Changed parsing of addresses. Thanks Jigal for the hint. -
Stefan Neufeind uploaded patch set 7 03/31/13, 16:46
-
Stefan Neufeind commented on patch set 7 03/31/13, 16:46
just added a very basic test -
Stefan Neufeind commented on patch set 7 03/31/13, 16:46
(2 inline comments) -
Markus Klein commented on patch set 5 03/31/13, 16:46
Looks good to me, but someone else must approve -
Markus Klein uploaded patch set 5 03/31/13, 16:46
-
Markus Klein commented on patch set 6 03/31/13, 16:46
Looks good to me, but someone else must approve Very nice improvement! -
Markus Klein commented on patch set 7 03/31/13, 16:46
(1 inline comment) -
Oliver Klee commented on patch set 6 03/31/13, 16:46
Can we have some unit tests for this? -
Christian Kuhn uploaded patch set 8 03/31/13, 16:46
-
Stefan Neufeind commented on patch set 9 V 0 03/31/13, 16:46
Tests from Christian run fine. Thanks a bunch. -
Christian Kuhn commented on patch set 9 03/31/13, 16:46
Verified; Looks good to me, but someone else must approve -
Christian Kuhn uploaded patch set 9 03/31/13, 16:46
-
Jigal van Hemert commented on patch set 5 03/31/13, 16:46
I would prefer that you didn't submit thisMailPostProcessor.php:161Splitting on ',' doesn't really work with all valid formats for lists of mail addresses. See TYPO3\CMS\Core\Mail\SwiftMailerAdapter::parseAddresses() for proper parsing. -
Jigal van Hemert commented on patch set 6 03/31/13, 16:46
Verified; Looks good to me, but someone else must approve The validEmail() check isn't necessary after the address parser has filtered the recipients because it only produces RFC822 compliant addresses. The extra processing is only done when sending a mail form, so it doesn't have much impact. -
Mr. Jenkins commented on patch set 1 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/7154/ : SUCCESS -
Mr. Jenkins commented on patch set 2 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/7222/ : SUCCESS -
Mr. Jenkins commented on patch set 3 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/7223/ : SUCCESS -
Mr. Jenkins commented on patch set 4 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/7795/ : SUCCESS -
Mr. Jenkins commented on patch set 5 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/7799/ : SUCCESS -
Mr. Jenkins commented on patch set 6 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/8034/ : SUCCESS -
Mr. Jenkins commented on patch set 7 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/8045/ : SUCCESS -
Mr. Jenkins commented on patch set 9 03/31/13, 16:46
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/8052/ : SUCCESS -
Jigal van Hemert commented on patch set 9 V 0 03/31/13, 16:46
by team member; Looks good to me, approved -
Jigal van Hemert merged patch set 10 03/31/13, 16:46