[TYPO3-core] RFC #17336: Swift Mailer Adapter does not parse To: addresses

Jigal van Hemert jigal at xs4all.nl
Wed Jan 26 13:35:30 CET 2011


Hi,

This is a SVN patch request.

Type: Bugfix

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

Branches: trunk

Problem:
If t3lib_utility_Mail is called with a recipient in the $to parameter 
which is not a plain simple mail address but has a name included (e.g. 
"my name" <me at example.org> ) it will throw an exception inside Swift Mailer

Solution:
process $to with parseAddresses before setting the To: value

How to test:
Send mails with Direct Mail, which uses
"The name" <name at example.org>
format for the recipient.

-- 
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: swift_to.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110126/6b66f404/attachment.txt>


More information about the TYPO3-team-core mailing list