diff options
Diffstat (limited to 'Postman/Postman-Mail/Zend-1.12.10/Mail.php')
-rw-r--r-- | Postman/Postman-Mail/Zend-1.12.10/Mail.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail.php b/Postman/Postman-Mail/Zend-1.12.10/Mail.php index 437e0fa..b2204f7 100644 --- a/Postman/Postman-Mail/Zend-1.12.10/Mail.php +++ b/Postman/Postman-Mail/Zend-1.12.10/Mail.php @@ -1176,7 +1176,9 @@ class Postman_Zend_Mail extends Postman_Zend_Mime_Message if ($transport === null) { if (! self::$_defaultTransport instanceof Postman_Zend_Mail_Transport_Abstract) { require_once 'Zend/Mail/Transport/Sendmail.php'; - $transport = new Postman_Zend_Mail_Transport_Sendmail(); + + $replyTo = self::getDefaultReplyTo(); + $transport = new Postman_Zend_Mail_Transport_Sendmail("-f{$replyTo['email']}"); } else { $transport = self::$_defaultTransport; } |