projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
034ef42
)
Fix MTA instantiation.
author
Jan Schneider
<jan@horde.org>
Mon, 27 Sep 2010 16:57:39 +0000
(18:57 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 27 Sep 2010 16:58:02 +0000
(18:58 +0200)
framework/Release/lib/Horde/Release.php
patch
|
blob
|
history
diff --git
a/framework/Release/lib/Horde/Release.php
b/framework/Release/lib/Horde/Release.php
index
69c4986
..
c8b3618
100644
(file)
--- a/
framework/Release/lib/Horde/Release.php
+++ b/
framework/Release/lib/Horde/Release.php
@@
-661,7
+661,8
@@
class Horde_Release
$mail->setBody($body, 'utf-8', false);
$mail->addHeaders($headers);
try {
- $mail->send(Mail::factory($this->_options['mailer']['type'], $this->_options['mailer']['params']));
+ $class = 'Horde_Mail_Transport_' . ucfirst($this->_options['mailer']['type']);
+ $mail->send(new $class($this->_options['mailer']['params']));
} catch (Horde_Mime_Exception $e) {
print $e->getMessage() . "\n";
}