<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="https://www.the-mage-expert.com/tag/e-mail/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Tue, 24 Jan 2023 09:37:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Writing HTML mail templates that are not considered as spam</title>
		<link>https://www.the-mage-expert.com/99/magento-writing-no-spam-html-mail-templates/</link>
		<comments>https://www.the-mage-expert.com/99/magento-writing-no-spam-html-mail-templates/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 12:18:13 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[e-mail]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=99</guid>
		<description><![CDATA[Follow these rules and your mail templates will most likely not be considered as spam: 1. Always wrap the content in &#8230; 2. Remove all empty lines 3. Remove all font size definitions, like font:11px/1.35em 4. Avoid spam words such&#8230;]]></description>
				<content:encoded><![CDATA[<p>Follow these rules and your mail templates will most likely not be considered as spam:</p>
<p>1. Always wrap the content in  <html>&#8230;</html><br />
2. Remove all empty lines<br />
3. Remove all font size definitions, like font:11px/1.35em<br />
4. Avoid spam words such as &#8220;bank&#8221; or &#8220;lending institution&#8221;</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/99/magento-writing-no-spam-html-mail-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading a mail template by its name</title>
		<link>https://www.the-mage-expert.com/52/magento-loading-mail-template-by-name/</link>
		<comments>https://www.the-mage-expert.com/52/magento-loading-mail-template-by-name/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 11:44:47 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[e-mail]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=52</guid>
		<description><![CDATA[Use the below code to load a Magento transaction mail template by its name: [crayon-6a7ac004a8c1c/]]]></description>
				<content:encoded><![CDATA[<p>Use the below code to load a Magento transaction mail template by its name:</p>
<p></p><pre class="crayon-plain-tag">$templateId = Mage::getModel('core/email_template')-&gt;loadByCode('&lt;name&gt;')-&gt;getTemplateId();
$template = Mage::getModel('core/email_template')-&gt;load($templateId);</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/52/magento-loading-mail-template-by-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting mail template content by name</title>
		<link>https://www.the-mage-expert.com/48/magento-getting-mail-template-content-by-name/</link>
		<comments>https://www.the-mage-expert.com/48/magento-getting-mail-template-content-by-name/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 11:42:58 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[e-mail]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=48</guid>
		<description><![CDATA[Use the following code to get a mail templates content by its name: [crayon-6a7ac004b10ae/]]]></description>
				<content:encoded><![CDATA[<p>Use the following code to get a mail templates content by its name:</p>
<p></p><pre class="crayon-plain-tag">$mailTemplate = Mage::getModel('core/email_template');
$templateByName = $mailTemplate-&gt;loadbyCode($templateName);
$text = $templateByName -&gt;getData('template_text');</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/48/magento-getting-mail-template-content-by-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting mail template content by id</title>
		<link>https://www.the-mage-expert.com/44/magento-getting-mail-template-content-by-id/</link>
		<comments>https://www.the-mage-expert.com/44/magento-getting-mail-template-content-by-id/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 11:41:41 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[e-mail]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=44</guid>
		<description><![CDATA[Use the following code to get a mail templates content by its id: [crayon-6a7ac004b13af/]]]></description>
				<content:encoded><![CDATA[<p>Use the following code to get a mail templates content by its id:</p>
<p></p><pre class="crayon-plain-tag">$mailTemplate = Mage::getModel('core/email_template');
$template = $mailTemplate-&gt;load($templateId);
$text = $template-&gt;getData('template_text');</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/44/magento-getting-mail-template-content-by-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing mail template content by id programmatically</title>
		<link>https://www.the-mage-expert.com/12/magento-changing-mail-template-content-by-id-programmatically/</link>
		<comments>https://www.the-mage-expert.com/12/magento-changing-mail-template-content-by-id-programmatically/#comments</comments>
		<pubDate>Mon, 18 Feb 2013 16:27:01 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[e-mail]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=12</guid>
		<description><![CDATA[To change the content of a Magento mail template by its id, use the following code: [crayon-6a7ac004b1653/]]]></description>
				<content:encoded><![CDATA[<p>To change the content of a Magento mail template by its id, use the following code:</p>
<p></p><pre class="crayon-plain-tag">$mailTemplate = Mage::getModel('core/email_template');
$feedbackTemplate = $mailTemplate-&gt;load($templateId);
$feedbackTemplate-&gt;setData('template_text', 'new text goes here');
$feedbackTemplate-&gt;save();</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/12/magento-changing-mail-template-content-by-id-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
