1

I need to send the order status update email programatically, I tried with the class Magento\Sales\Model\Order\Email\Sender\OrderSender but it sends the order confirmation email, not the state update.

How do I do it?

1 Answer 1

2

You need to use \Magento\Sales\Model\Order\Email\Sender\OrderCommentSender

1
  • That was the perfect answer, thank you!
    – Roberto
    Jun 14, 2022 at 8:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.