Hi Can someone help me on this.
I need to send a custom email.
Currently all custom emails are send by setting the template id to a variable named $templateId as
$templateId = 20;
(or)
$templateId = Mage::getStoreConfig(self::XML_PATH_EMAIL_TEMPLATE, $storeId);
I want to be able to get the template id based on the email template name. , say "NewEmailTemplate" is the email template name and the id is 10.
I want the id 10 by giving the template name.
Thanks