[TYPO3-core] RFC #17518: Content type "mailform" no longer accepts list of addresses for "Recipient List"

Jigal van Hemert jigal at xs4all.nl
Tue Feb 8 19:06:24 CET 2011


Hi,

This is a SVN patch request.

Type: Bugfix

BT reference: http://bugs.typo3.org/view.php?id=17518

Branches: trunk / 4_5

Problem:
The upgrade to SwiftMailer causes a comma separated list of addresses in 
the "Recipient List" of a mailform content item to be rejected with the 
message:
   Address in mailbox given [ A,B ] does not comply with RFC 2822, 3.6.2.
where A,B is a comma separated list of valid email addresses.

Solution:
Parse the address(es) like we do in the Swift Mailer Adapter using the 
t3lib_mail_Rfc822AddressesParser

How to test:
Make a content element mailform and set two or more email addresses 
(comma separated) as the recipient.

Notes:
The function parseAddresses() is borrowed from the Swift Mailer Adapter 
and already in use in many installations.

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17518.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110208/173ae15c/attachment.txt>


More information about the TYPO3-team-core mailing list