Use the following code to get a mail templates content by its id:
|
1 2 3 |
$mailTemplate = Mage::getModel('core/email_template'); $template = $mailTemplate->load($templateId); $text = $template->getData('template_text'); |
Getting mail template content by id
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.