diff --git a/Services/MailboxService.php b/Services/MailboxService.php index bf84403..8f1ba2d 100644 --- a/Services/MailboxService.php +++ b/Services/MailboxService.php @@ -317,7 +317,9 @@ public function processMail($rawEmail) // An exception being thrown means no mailboxes were found from the recipient's address. Continue processing. } } - + + $mailData['replyTo'] = ''; + foreach($addresses['to'] as $mailboxEmail){ if($this->getMailboxByToEmail(strtolower($mailboxEmail))){ $mailData['replyTo'] = $mailboxEmail; diff --git a/composer.json b/composer.json index 9feb332..985adeb 100644 --- a/composer.json +++ b/composer.json @@ -20,10 +20,7 @@ "psr-4": { "Webkul\\UVDesk\\MailboxBundle\\": "" } }, "extra": { - "uvdesk-package-extension": "Webkul\\UVDesk\\MailboxBundle\\Package\\Composer", - "branch-alias": { - "dev-master": "1.1.x-dev" - } + "uvdesk-package-extension": "Webkul\\UVDesk\\MailboxBundle\\Package\\Composer" }, "minimum-stability": "stable" }