Project

General

Profile

Actions

Bug #19500

closed

t3lib_htmlmail: sending mails produces error "501 Bad address syntax" in mail.log

Added by Thomas Loeffler about 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-10-23
Due date:
% Done:

0%

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

Description

After updating to version 4.2.2, some HTML mails did not arrive. Checking the mail.log gives me the error "501 Bad address syntax".
I tested to send a HTML mail in the install tool and got the same error.

Change line 716 from:

$returnPath = (strlen($this->returnPath) > 0) ? '-f " ' . escapeshellarg($this->returnPath) . ' " ' : ' ';

to:

$returnPath = (strlen($this->returnPath) > 0) ? '-f '.escapeshellarg($this->returnPath).' ' : ' ';

There are too many double qoutes. After changing this, the mails arrived.
(issue imported from #M9628)


Files

9628.diff (692 Bytes) 9628.diff Administrator Admin, 2008-10-25 21:57

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #19562: double enquote in t3lib_htmlmail of returnPathClosedSteffen Kamper2008-11-03

Actions
Actions #1

Updated by Dmitry Dulepov about 16 years ago

The patch is attached.

Actions #2

Updated by Dmitry Dulepov almost 16 years ago

It is not a 'block' severity. It does not block TYPO3 work.

Actions #3

Updated by Dmitry Dulepov almost 16 years ago

See #19275

Actions

Also available in: Atom PDF