mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Add 'reply to' email address to order emails for shops
This commit is contained in:
@@ -23,7 +23,8 @@ module Spree
|
||||
I18n.with_locale valid_locale(@order.distributor.owner) do
|
||||
subject = I18n.t('spree.order_mailer.cancel_email_for_shop.subject')
|
||||
mail(to: @order.distributor.contact.email,
|
||||
subject:)
|
||||
subject:,
|
||||
reply_to: @order.email)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -43,7 +44,8 @@ module Spree
|
||||
I18n.with_locale valid_locale(@order.user) do
|
||||
subject = mail_subject(t('spree.order_mailer.confirm_email.subject'), resend)
|
||||
mail(to: @order.distributor.contact.email,
|
||||
subject:)
|
||||
subject:,
|
||||
reply_to: @order.email)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user