Project

General

Profile

Actions

Bug #34526

closed

Mail sending fails with quoted&encoded e-mail addresses

Added by Dmitry Dulepov about 12 years ago. Updated over 6 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.

Actions #1

Updated by Gerrit Code Review about 12 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

Actions #2

Updated by Steffen Ritter about 12 years ago

  • Target version set to 4.7.0-beta2
Actions #3

Updated by Gerrit Code Review about 12 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

Actions #4

Updated by Gerrit Code Review about 12 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

Actions #5

Updated by Gerrit Code Review about 12 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

Actions #6

Updated by Dmitry Dulepov about 12 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF