Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ($rows as $row) {
- Mage::helper("module_name")->sendEmail($row);
- }
- $appEmulation = Mage::getSingleton('core/app_emulation');
- $initialEnvironmentInfo = $appEmulation->startEnvironmentEmulation($order->getStoreId());
- $mailTemplate->sendTransactional(
- $schedule->getEmailTemplateId(),
- $sender,
- $recipient,
- null,
- $templateVars,
- $order->getStoreId()
- );
- $appEmulation->stopEnvironmentEmulation($appEmulation);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement