Project

General

Profile

Actions

Bug #25415

closed

t3lib_formmail: addReplyTo method of Swift Mailer SimpleMessage, called with wrong arguments

Added by Thomas Maroschik over 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2011-03-29
Due date:
% Done:

0%

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

Description

$replyTo = $this->replyToName ? array($this->replyToAddress => $this->replyToName) : array($this->replyToAddress);
$this->mailMessage->addReplyTo($replyTo);

t3lib_formmail calls the addReplyTo method with an array as $replyTo argument. But the SimpleMessage::addReplyTo method takes the reply to address as string and the reply to name as optional string.

This should be changed. Will fix this in a minute.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #25301: Setting "Reply-To" fails in class.t3lib_formmail.phpClosedJigal van Hemert2011-03-10

Actions
Actions #1

Updated by Thomas Maroschik over 13 years ago

Ready for review http://review.typo3.org/1301

Should be also back-ported to 4.5 as it occurs there.

Actions #2

Updated by Jigal van Hemert over 13 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF