Project

General

Profile

Actions

Bug #16808

closed

setHeaders in class.t3lib_htmlmail forget to quote the realname parts of the "From" and "reply-to" headers

Added by Bernd Hanisch over 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2006-12-22
Due date:
% Done:

0%

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

Description

the function setHeaders dont quote the realname parts of this mail addresses. Some times user input a comma in input fields of forms. if now autoreplay scripts pass the "from" adress back to a mailserver this miss interpret the mail address and split it to 2 recipients.

Bugfix for that is simple quote the realname parts like patches below:

line: 460:
$this->add_header('From: "'.$this->from_name.'" <'.$this->from_email.'>');

line: 468:
$this->add_header('Reply-To: "'.$this->replyto_name.'" <'.$this->replyto_email.'>');

(issue imported from #M4692)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21668: Wrong mail encodingClosed2009-11-24

Actions
Actions

Also available in: Atom PDF