Skip to content

Commit abc9427

Browse files
committed
MAGETWO-71349: Email Return-Path Setting is not used as Return-Path in Mail Transport
1 parent 695dcfa commit abc9427

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Email/Model/Transport.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ class Transport implements TransportInterface
6060
* @param MessageInterface $message Email message object
6161
* @param ScopeConfigInterface $scopeConfig Core store config
6262
* @param string|array|\Zend_Config|null $parameters Config options for sendmail parameters
63-
* @throws \InvalidArgumentException when $message is not instance of \Zend_Mail
63+
*
64+
* @throws \InvalidArgumentException when $message is not an instance of \Zend_Mail
6465
*/
6566
public function __construct(
6667
\Zend_Mail_Transport_Sendmail $transport,
@@ -79,7 +80,7 @@ public function __construct(
7980
* Sets Return-Path to email if necessary, and sends email if it is allowed by System Configurations
8081
*
8182
* @return void
82-
* @throws \Magento\Framework\Exception\MailException
83+
* @throws MailException
8384
*/
8485
public function sendMessage()
8586
{

0 commit comments

Comments
 (0)