Permalink
Browse files

See tracker http://joomlacode.org/gf/project/joomla/tracker/?action=T…

  • Loading branch information...
1 parent cc7e058 commit 33a4139f800c52022bc8ebf828955ca6a51cf1fd @infograf768 committed Aug 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 libraries/joomla/factory.php
@@ -663,8 +663,8 @@ protected static function _createMailer()
// Create a JMail object
$mail = JMail::getInstance();
- // Set default sender
- $mail->setSender(array($mailfrom, $fromname));
+ // Set default sender without Reply-to
+ $mail->SetFrom(JMailHelper::cleanLine($mailfrom), JMailHelper::cleanLine($fromname), 0);
// Default mailer is to use PHP's mail function
switch ($mailer)

0 comments on commit 33a4139

Please sign in to comment.