#34526Mail sending fails with quoted&encoded e-mail addresses
Description
Trying to send e-mail from addresses like `“Cālis.lv” <none>` fails with “Validation failed for …” message. The problem is that t3lib_div::encodeHeader places encoding markers before quoues and produces the following:</none>
=?utf-8?Q?“C=C4=81lis.lv”?= <none></none>
The correct would be:
“=?utf-8?Q?C=C4=81lis.lv?=” <none></none>
Later t3lib_mail_Rfc822AddressesParser does not see this as a quoted string and fails with an exception.
The solution is to fix the t3lib_div::encodeHeader to move quotes outside of the quoted value.
Reviews 4
- TYPO3_4-6 9595[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses
- TYPO3_4-5 9596[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses
- main 9378[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses
- TYPO3_4-7 9594[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses