sailthru / sailthru-magento2-extension

Sailthru extension for Magento 2
2 stars 12 forks source link

Wrong sender name/email in reset password email via admin in multistore #29

Closed klakovsky closed 5 years ago

klakovsky commented 7 years ago

Preconditions: Different email Senders configured for different websites: Configuration > General > Store Email Addresses > Sales Representative > Sender Name/Email

Steps to reproduce: Log in to the admin panel Open any customer (with non-default store_id) Click "Reset Password" Check customer mailbox

Actual result: Customer reset password emails send from Sender of the default website

Expected result: Customer reset password emails send from Sender of the website the customer was assigned.

Notes: We use workaround with plugin for: Magento\Customer\Model\EmailNotificationInterface:

getSettingsVal method of Api.php helper checks store/website in request object, but when send email from admin panel, there is no order store code/id in request so all configs will be taken for default store.

silverman63 commented 5 years ago

Hi @klakovsky are you still observing this issue? Theoretically, our ScopeResolver should've fixed this. https://github.com/sailthru/sailthru-magento2-extension/blob/master/Helper/ScopeResolver.php