-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: EmailFixed in 2.1.xThe issue has been fixed in 2.1 release lineThe issue has been fixed in 2.1 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 release
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
Component: EmailFixed in 2.1.xThe issue has been fixed in 2.1 release lineThe issue has been fixed in 2.1 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 release