summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/Zend-1.12.10/Mail.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-05-20 05:21:18 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-05-20 05:21:18 +0000
commitefd7b4d8d0d58f92e8080ffe2da669bb451b622b (patch)
tree35cb7ed64c1c7baa3c0c8045c68dc2d01fbb4b51 /Postman/Postman-Mail/Zend-1.12.10/Mail.php
parent7b06a0232e4dcb4be4a2b276f15f4a90903918b5 (diff)
downloadPost-SMTP-efd7b4d8d0d58f92e8080ffe2da669bb451b622b.zip
= 2.0.2 - 2019-05-19
* Fixed: Sendgrid code fix. * Fixed: Default method (nothing configured) will use the default mail on the server and not SMTP.
Diffstat (limited to 'Postman/Postman-Mail/Zend-1.12.10/Mail.php')
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail.php b/Postman/Postman-Mail/Zend-1.12.10/Mail.php
index d597ea7..67ba4b9 100644
--- a/Postman/Postman-Mail/Zend-1.12.10/Mail.php
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail.php
@@ -1175,10 +1175,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';
-
- $replyTo = self::getDefaultReplyTo();
- $transport = new Postman_Zend_Mail_Transport_Sendmail("-f{$replyTo['email']}");
+ require_once 'Mail/Transport/Sendmail.php';
+
+ $transport = new Postman_Zend_Mail_Transport_Sendmail("-f{$this->_from}");
} else {
$transport = self::$_defaultTransport;
}