New order email magento problems

Asked By 30 points N/A Posted on -
qa-featured

I have been managing and mailing my clients through the email magneto. I have updated it to a new version. Now, when I try and add new client and sent bulk email, it starts showing errors.

Why is that?

SHARE
Answered By 0 points N/A #138370

New order email magento problems

qa-featured

Hey Sherry,

Just add the following script to your email.php module –

public function sendConfirmationSuccessEmail() { /* if ($this->getImportMode()) { return $this; } if(!Mage::getStoreConfig(self::XML_PATH_SUCCESS_EMAIL_TEMPLATE) || !Mage::getStoreConfig(self::XML_PATH_SUCCESS_EMAIL_IDENTITY)) { return $this; } */ /* $translate = Mage::getSingleton('core/translate'); */ /* @var $translate Mage_Core_Model_Translate */ /* $translate->setTranslateInline(false); */ /* $email = Mage::getModel('core/email_template'); */ /* @var $email Mage_Core_Model_Email_Template */ /* if (Mage::getStoreConfigFlag(self::XML_PATH_SENDING_SET_RETURN_PATH)) { $email->setReturnPath(Mage::getStoreConfig(self::XML_PATH_SUCCESS_EMAIL_IDENTITY)); } $email->sendTransactional( Mage::getStoreConfig(self::XML_PATH_SUCCESS_EMAIL_TEMPLATE), Mage::getStoreConfig(self::XML_PATH_SUCCESS_EMAIL_IDENTITY), $this->getEmail(), $this->getName(), array('subscriber'=>$this) ); $translate->setTranslateInline(true); return $this; */ }

Login/Register to Answer

Related Questions