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

Also available in: Atom PDF