There is a Joomla! bug that adds the Admin Email address to any Reply To Email address that is set in ChronoForms.
There's a partial fix for this bug in Joomla! 2.5 . . . but it hasn't been carried through to the sendmail function so ChronoForms still can't access it (at least not without building it's own sendmail function).
Here is a hack fix for this. Edit the libraries/joomla/mail/mail.php file in Joomla! 2.5 or later. Look for this function around line 411 and make the two changes shown:
public function sendMail($from, $fromName, $recipient, $subject,
$body, $mode = 0, $cc = null, $bcc = null, $attachment = null, $replyTo =
null,
$replyToName = null)
{
// $this->setSender(array($from, $fromName)); // <-- comment out this line
$this->setSubject($subject);
$this->setBody($body);
// Are we sending the email as HTML?
if ($mode)
{
$this->IsHTML(true);
}
$this->addRecipient($recipient);
$this->addCC($cc);
$this->addBCC($bcc);
$this->addAttachment($attachment);
// Take care of reply email addresses
if (is_array($replyTo))
{
$numReplyTo = count($replyTo);
for ($i = 0; $i < $numReplyTo; $i++)
{
$this->addReplyTo(array($replyTo[$i], $replyToName[$i]));
}
}
elseif (isset($replyTo))
{
$this->addReplyTo(array($replyTo, $replyToName));
}
// add these lines from here
if ( count($this->ReplyTo) > 0 ) {
$this->setSender(array($from, $fromName, false));
} else {
$this->setSender(array($from, $fromName));
}
// to here
return $this->Send();
}
There is more information in this thread.
ReplyTo Name bug
There is a bug in Joomla! 3.0.3 that loses Reply To Names (only the addresses are included in the email). There is a fix in the Joomla! bug-tracker [url=http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=30246]here[/url]
Comments: