SHARE
TWEET

Untitled

a guest Jul 24th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. foreach ($rows as $row) {
  2.         Mage::helper("module_name")->sendEmail($row);
  3.     }
  4.      
  5. $appEmulation = Mage::getSingleton('core/app_emulation');
  6.         $initialEnvironmentInfo = $appEmulation->startEnvironmentEmulation($order->getStoreId());
  7.  
  8.         $mailTemplate->sendTransactional(
  9.             $schedule->getEmailTemplateId(),
  10.             $sender,
  11.             $recipient,
  12.             null,
  13.             $templateVars,
  14.             $order->getStoreId()
  15.         );
  16.  
  17.  
  18.         $appEmulation->stopEnvironmentEmulation($appEmulation);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top