Issue Bug Closed

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

Thomas Maroschik 03/29/11, 10:27 updated 10/24/17, 20:18

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.

Reviews 1