Skip to content

Commit

Permalink
[bug-OpenMage#64] Can't re-send customer order mail via backend
Browse files Browse the repository at this point in the history
http://magento.stackexchange.com/a/37690/78

Irritating "new" feature so order emails cannot be resent
  • Loading branch information
seansan authored and edannenberg committed Aug 22, 2019
1 parent 2562748 commit ab57611
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ public function emailAction()
{
if ($order = $this->_initOrder()) {
try {
// FIX. Enable re-sending again - http://magento.stackexchange.com/a/37690/78
$order->setEmailSent(false);
$order->sendNewOrderEmail();
$historyItem = Mage::getResourceModel('sales/order_status_history_collection')
->getUnnotifiedForInstance($order, Mage_Sales_Model_Order::HISTORY_ENTITY_NAME);
Expand Down

0 comments on commit ab57611

Please sign in to comment.