0

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

1

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 that you have read and understand our privacy policy and code of conduct.

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