Closed
Description
When a customer places an order, (s)he receives an order confirmation email but admin does not receive any notification.
I have traced back the error to this file (vendor/magento/module-sales/Model/Order/Email/Sender.php:84)
It throws an exception with the following message "From Header set twice".
Preconditions
- PHP 7.1.18
- MySQL 5.7.22
- Magento 2.2.4
Steps to reproduce
- Login as admin.
- Go to Stores -> Configuration -> Sales -> Sales Emails.
- Go to Order section.
- Make sure it is enabled.
- Add your email into the field Send Order Email Copy To.
- "Send Order Email Copy Method" to "Separate Email".
- Go to your Magento store.
- Login as a customer.
- Make a new order.
Expected result
- The customer should receive the order confirmation email.
- The email address in the Magento admin which we have just added should also receive a copy.
Actual result
- The customer receives order confirmatio email.
- But admin is not notified, nor the copies are sent.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.1 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 release