Bug #34526

Mail sending fails with quoted&encoded e-mail addresses

Added by Dmitry Dulepov over 10 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-03-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Trying to send e-mail from addresses like `"Cālis.lv" <>` fails with "Validation failed for ..." message. The problem is that t3lib_div::encodeHeader places encoding markers before quoues and produces the following:

=?utf-8?Q?"C=C4=81lis.lv"?= <>

The correct would be:

"=?utf-8?Q?C=C4=81lis.lv?=" <>

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.

#1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9378

#2

Updated by Steffen Ritter over 10 years ago

  • Target version set to 4.7.0-beta2
#3

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9594

#4

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/9595

#5

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/9596

#6

Updated by Dmitry Dulepov over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Riccardo De Contardi almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF