Special Chars in address problem
Posted: Wed Sep 01, 2010 6:39 am
Hello everyone,
I have problems sending emails to addresses containing special chars like "xyz@abcü.de" but as we now have allowed domains including special chars, those addresses exist, but swiftmail keeps telling me it's not correct after RFC 2822. Any ideas how to solve this?
Thanks in advance,
Chris
I have problems sending emails to addresses containing special chars like "xyz@abcü.de" but as we now have allowed domains including special chars, those addresses exist, but swiftmail keeps telling me it's not correct after RFC 2822. Any ideas how to solve this?
It's really important but I have no idea how to solve it actually. Already tried utf8_encoding but didn't work.Uncaught exception 'Swift_RfcComplianceException' with message 'Address in mailbox given [max@müstermänn.de] does not comply with RFC 2822, 3.6.2.' in _deleted_/libs/swiftmail/classes/Swift/Mime/Headers/MailboxHeader.php:309
Stack trace:
#0 _deleted_/libs/swiftmail/classes/Swift/Mime/Headers/MailboxHeader.php(239): Swift_Mime_Headers_MailboxHeader->_assertValidAddress('m?x@m?sterm?...')
#1 _deleted_/libs/swiftmail/classes/Swift/Mime/Headers/MailboxHeader.php(97): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(Array)
#2 _deleted_/libs/swiftmail/classes/Swift/Mime/Headers/MailboxHeader.php(61): Swift_Mime_Headers_MailboxHeader->setNameAddresses(Array)
#3 _deleted_/libs/swiftmail/classes/Swift/Mime/SimpleHeaderFactory.php(64): Swift_Mime_Headers_MailboxHeader->setFieldBodyModel(Array)
#4 _deleted_/libs/swiftmail/classes/Swift/Mime/Headers/MailboxHeader.php</b> on line 309
Thanks in advance,
Chris