I am using
$order = Mage::getModel('sales/order'); $order->loadByIncrementId($orderId); $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true, 'Gateway has authorized the payment.'); $order->sendNewOrderEmail(); $order->setEmailSent(true);
in my success method, but in Enterprise store the method is not working. I am not receiving mail for new order.
Can anyone please guide me for this. I am stucked debugging the issue from last two days. Any help will be appreciated.