Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Order
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2023 at 18:27 UTC
Updated:
5 Apr 2023 at 17:09 UTC
Jump to comment: Most recent
Comments
Comment #4
tbkot commentedComment #5
jsacksick commented@AdamPS: Oh, thought the "resend" parameter was a concept used elsewhere in core... hm... This is just a flag you're planning on relying on via a
hook_mail_alter()or something? I wonder if we should standardize and document the extra parameter in our MailHandlerInterface.In this case, we might also need to set a default value for it (from the
$default_paramsarray).I also wonder how we can phrase "The indicator to mark send email as it resends." better.
Comment #6
adamps commentedMany thanks for the fix and comments. I will test it soon.
It would be very useful for Symfony Mailer. In #3271421: Full integration with commerce module we ignore
commerce_mail()and instead build the email using the new powerful interfaces and features including "Manage Display" (field formatters) and CSS libraries. The email building code is only about 10 lines.Specifically, the original mail should be bcc'ed according to store settings, the resend should not, hence this issue. Currently the patch has a workaround checking timestamps to figure it out, which is not ideal😃.
Sure if you believe it is a standard thing, and other email types can be resent.
How about: "Whether the receipt mail is being resent by an administrator."
Comment #7
adamps commentedI am keen to discuss strategy for Symfony Mailer + Commerce integration with someone at Commerce Guys.
Comment #8
adamps commentedGreat it works. It would be good to change the comment as suggested in #5/#6.
Comment #11
jsacksick commentedCommitted, thanks!
Comment #12
adamps commentedAmazing thanks very much