diff --git a/vendor/magento/module-sales/Plugin/ApplyStoreEmailConfigToSalesEmail.php b/vendor/magento/module-sales/Plugin/ApplyStoreEmailConfigToSalesEmail.php new file mode 100644 index 000000000000..73227abf6721 --- /dev/null +++ b/vendor/magento/module-sales/Plugin/ApplyStoreEmailConfigToSalesEmail.php @@ -0,0 +1,54 @@ +scopeConfig->isSetFlag( + self::XML_PATH_SYSTEM_SMTP_DISABLE, + ScopeInterface::SCOPE_STORE, + $subject->getStore()->getStoreId() + ); + } +} diff --git a/vendor/magento/module-sales/etc/di.xml b/vendor/magento/module-sales/etc/di.xml index d5dc1938bdab..639af0a2adf0 100644 --- a/vendor/magento/module-sales/etc/di.xml +++ b/vendor/magento/module-sales/etc/di.xml @@ -1038,4 +1038,8 @@ + + +