Project

General

Profile

Actions

Bug #17475

closed

forceReturnPath in class.t3lib_htmlmail ignored

Added by Daniel Chabrol over 17 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-07-16
Due date:
% Done:

0%

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

Description

If you set forceReturnPath in localconf.php
$TYPO3_CONF_VARS['SYS']['forceReturnPath'] = '';
it has no influence to the Return-Path-Header in the mail.

Only the class variable forceReturnPath is set but never used. It is always returnPath used. I added an line (see diff-file) to solve this issue.
(issue imported from #M5978)


Files

class.t3lib_htmlmail.diff (639 Bytes) class.t3lib_htmlmail.diff Administrator Admin, 2007-07-16 18:33
Actions #1

Updated by Martin Kutschker over 17 years ago

$TYPO3_CONF_VARS['SYS']['forceReturnPath'] is a switch. If set the return path may be forced (re-read the code!).

But it will use $this->returnPath as return path which must be set programmatically by the calling function. This means you may set it as extension developer, but not as a site admin.

Actions #2

Updated by Daniel Chabrol over 17 years ago

Oops thanks for your hint and clarifying this!

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF