Created
June 24, 2016 06:34
-
-
Save bka/1eea309a5ff7b3d71f5f978eecb179f6 to your computer and use it in GitHub Desktop.
Magento: send order mail on console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include 'app/Mage.php'; | |
Mage::app('default'); | |
Mage::app()->setCurrentStore(1); | |
Mage::app()->getTranslator()->init('frontend', true); | |
$_order = Mage::getModel('sales/order')->load($argv[1]); | |
$_order->sendNewOrderEmail(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment