<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Magento custom emails</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/magento-custom-emails/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Mon, 21 May 2012 08:29:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: mike</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-28023</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 04 Apr 2012 21:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-28023</guid>
		<description>I really appreciate the guidance but you REALLY need to incorporate Brian&#039;s advice from 12-01-2012 at 22:15 . This was a very odd bug to try to fix.</description>
		<content:encoded><![CDATA[<p>I really appreciate the guidance but you REALLY need to incorporate Brian&#8217;s advice from 12-01-2012 at 22:15 . This was a very odd bug to try to fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rishabh</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-26803</link>
		<dc:creator>Rishabh</dc:creator>
		<pubDate>Mon, 27 Feb 2012 12:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-26803</guid>
		<description>Hi all,

I want to apply this custom email block to my footer.phtml page for sending the custom email, can anyone help me...

thanks
Rishabh</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>I want to apply this custom email block to my footer.phtml page for sending the custom email, can anyone help me&#8230;</p>
<p>thanks<br />
Rishabh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kalaivani</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-26792</link>
		<dc:creator>kalaivani</dc:creator>
		<pubDate>Mon, 27 Feb 2012 07:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-26792</guid>
		<description>Hi , thank you for this great tutorial.Can you tell me How to integrate Freshbook - Magento ?</description>
		<content:encoded><![CDATA[<p>Hi , thank you for this great tutorial.Can you tell me How to integrate Freshbook &#8211; Magento ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erhard</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-26697</link>
		<dc:creator>Erhard</dc:creator>
		<pubDate>Sat, 25 Feb 2012 09:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-26697</guid>
		<description>I&#039;m doing:

$emailTemplate  = Mage::getModel(&#039;core/email_template&#039;)-&gt;loadDefault(&#039;send_to_requests_template&#039;);
$emailTemplate-&gt;setSenderName(&quot;Some Name&quot;);
$emailTemplate-&gt;setSenderEmail(&quot;some@mail.com&quot;);
$emailTemplate-&gt;setTemplateSubject($this_&gt;__(&quot;Some Subject!&quot;));
$emailTemplateVariables = array();
$emailTemplateVariables[&#039;zip&#039;] = &quot;....&quot;;
$emailTemplate-&gt;send($request[&#039;email&#039;], &quot;Mike Old&quot;, $emailTemplateVariables);


but mail are never been delivered. I have checked the spam folder, nothing, I have checked the smtp settings from magento, nothing.... I&#039;m doing smthg wrong?
thx</description>
		<content:encoded><![CDATA[<p>I&#8217;m doing:</p>
<p>$emailTemplate  = Mage::getModel(&#8216;core/email_template&#8217;)-&gt;loadDefault(&#8216;send_to_requests_template&#8217;);<br />
$emailTemplate-&gt;setSenderName(&#8220;Some Name&#8221;);<br />
$emailTemplate-&gt;setSenderEmail(&#8220;some@mail.com&#8221;);<br />
$emailTemplate-&gt;setTemplateSubject($this_&gt;__(&#8220;Some Subject!&#8221;));<br />
$emailTemplateVariables = array();<br />
$emailTemplateVariables['zip'] = &#8220;&#8230;.&#8221;;<br />
$emailTemplate-&gt;send($request['email'], &#8220;Mike Old&#8221;, $emailTemplateVariables);</p>
<p>but mail are never been delivered. I have checked the spam folder, nothing, I have checked the smtp settings from magento, nothing&#8230;. I&#8217;m doing smthg wrong?<br />
thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-25656</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 12 Jan 2012 21:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-25656</guid>
		<description>If you are having trouble with the Transactional Emails in Admin try removing the module attrubute in your config.xml. For example, if you&#039;re using the sample code change line 5 from this:
[code]
&lt;custom_email_template1 module=&quot;SampleModule1&quot;&gt;
[/code]
to this: 
[code]
&lt;custom_email_template1&gt;
[/code]

This solved the issue for me.</description>
		<content:encoded><![CDATA[<p>If you are having trouble with the Transactional Emails in Admin try removing the module attrubute in your config.xml. For example, if you&#8217;re using the sample code change line 5 from this:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;custom_email_template1 module=&quot;SampleModule1&quot;&gt;
</pre>
<p>to this: </p>
<pre class="brush: plain; title: ; notranslate">
&lt;custom_email_template1&gt;
</pre>
<p>This solved the issue for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baboo</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-24588</link>
		<dc:creator>Baboo</dc:creator>
		<pubDate>Wed, 21 Dec 2011 23:20:08 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-24588</guid>
		<description>The admin Transactional Email-s don&#039;t work anymore definitly. Does anyone have solution for this?

Thanks for the great article though, it works great, but this is the problem now.</description>
		<content:encoded><![CDATA[<p>The admin Transactional Email-s don&#8217;t work anymore definitly. Does anyone have solution for this?</p>
<p>Thanks for the great article though, it works great, but this is the problem now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-23959</link>
		<dc:creator>Manish</dc:creator>
		<pubDate>Fri, 25 Nov 2011 13:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-23959</guid>
		<description>Here is a detailed blog written magento transactional emails

http://www.excellencemagentoblog.com/magento-advanced-transactional-email-templates</description>
		<content:encoded><![CDATA[<p>Here is a detailed blog written magento transactional emails</p>
<p><a href="http://www.excellencemagentoblog.com/magento-advanced-transactional-email-templates" rel="nofollow">http://www.excellencemagentoblog.com/magento-advanced-transactional-email-templates</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-23225</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Mon, 24 Oct 2011 09:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-23225</guid>
		<description>Oops pasted from wrong confix.xml:

[code]
&lt;global&gt;
    &lt;template&gt;
        &lt;email&gt;
            &lt;Optimise_Requestcallback module=&quot;optimise_requestcallback&quot;&gt;
                &lt;label&gt;Optimise RequestCallback&lt;/label&gt;
                &lt;file&gt;optimise_requestcallback.html&lt;/file&gt;
                &lt;type&gt;html&lt;/type&gt;
            &lt;/Optimise_Requestcallback&gt;
        &lt;/email&gt;
    &lt;/template&gt;
&lt;/global&gt;
[/code]</description>
		<content:encoded><![CDATA[<p>Oops pasted from wrong confix.xml:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;global&gt;
    &lt;template&gt;
        &lt;email&gt;
            &lt;Optimise_Requestcallback module=&quot;optimise_requestcallback&quot;&gt;
                &lt;label&gt;Optimise RequestCallback&lt;/label&gt;
                &lt;file&gt;optimise_requestcallback.html&lt;/file&gt;
                &lt;type&gt;html&lt;/type&gt;
            &lt;/Optimise_Requestcallback&gt;
        &lt;/email&gt;
    &lt;/template&gt;
&lt;/global&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-23224</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Mon, 24 Oct 2011 09:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-23224</guid>
		<description>Thanks for the code. I&#039;ve got one problem though. The email works and sends fine but now when I log into the backend and go to System &gt; Transactional Emails &gt; and click &#039;Add new template&#039; the page seems to crash. The template dropdown gets rendered but with no options and everything after that fails to load.

Just wondering if anyone else has had that problem?

I think it could be down to my xml.  I&#039;m not sure what I have in the module=&quot;&quot; is correct. My module is in Local &gt; Optimise &gt; Requestcallback

[code]
&lt;global&gt;
    &lt;template&gt;
        &lt;email&gt;
            &lt;optimise_orderform module=&quot;Orderform&quot;&gt;
                &lt;label&gt;Optimise Orderform&lt;/label&gt;
                &lt;file&gt;optimise_orderform.html&lt;/file&gt;
                &lt;type&gt;html&lt;/type&gt;
            &lt;/optimise_orderform&gt;
        &lt;/email&gt;
    &lt;/template&gt;
&lt;/global&gt;
[/code]</description>
		<content:encoded><![CDATA[<p>Thanks for the code. I&#8217;ve got one problem though. The email works and sends fine but now when I log into the backend and go to System &gt; Transactional Emails &gt; and click &#8216;Add new template&#8217; the page seems to crash. The template dropdown gets rendered but with no options and everything after that fails to load.</p>
<p>Just wondering if anyone else has had that problem?</p>
<p>I think it could be down to my xml.  I&#8217;m not sure what I have in the module=&#8221;" is correct. My module is in Local &gt; Optimise &gt; Requestcallback</p>
<pre class="brush: plain; title: ; notranslate">
&lt;global&gt;
    &lt;template&gt;
        &lt;email&gt;
            &lt;optimise_orderform module=&quot;Orderform&quot;&gt;
                &lt;label&gt;Optimise Orderform&lt;/label&gt;
                &lt;file&gt;optimise_orderform.html&lt;/file&gt;
                &lt;type&gt;html&lt;/type&gt;
            &lt;/optimise_orderform&gt;
        &lt;/email&gt;
    &lt;/template&gt;
&lt;/global&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul D</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-22663</link>
		<dc:creator>Rahul D</dc:creator>
		<pubDate>Mon, 12 Sep 2011 12:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-22663</guid>
		<description>Thanks a Lot....
Awesome peace of Code :) :) :)</description>
		<content:encoded><![CDATA[<p>Thanks a Lot&#8230;.<br />
Awesome peace of Code <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit Sharma</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-22367</link>
		<dc:creator>Ankit Sharma</dc:creator>
		<pubDate>Thu, 18 Aug 2011 07:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-22367</guid>
		<description>[quote]
H,
I’ve tried to add a new Email Template file (activecodeline_custom_email1.html) to the folder “/app/locale/en_US/template/email” and use it according to the instructions here, but after I did that the New Email Template page in the admin area stoped working… It looks like the page start to load the templates to the
Load default template- Template dropdown and have an error while doing that so the page stop there (I’m adding a print screen).

Iv’e tried to delete the “activecodeline_custom_email1.html” file from “/app/locale/en_US/template/email” and clean the cache but it didn’t fixed the problem.

How can I fix this?

Buy the way – I’m using Magento ver. 1.4.0.1

[/quote]

True.
Generates error_log

[18-Aug-2011 07:14:01] PHP Fatal error:  Class &#039;Mage_SampleModule1_Helper_Data&#039; not found in /home/public_html/app/Mage.php on line 523</description>
		<content:encoded><![CDATA[<p>[quote]<br />
H,<br />
I’ve tried to add a new Email Template file (activecodeline_custom_email1.html) to the folder “/app/locale/en_US/template/email” and use it according to the instructions here, but after I did that the New Email Template page in the admin area stoped working… It looks like the page start to load the templates to the<br />
Load default template- Template dropdown and have an error while doing that so the page stop there (I’m adding a print screen).</p>
<p>Iv’e tried to delete the “activecodeline_custom_email1.html” file from “/app/locale/en_US/template/email” and clean the cache but it didn’t fixed the problem.</p>
<p>How can I fix this?</p>
<p>Buy the way – I’m using Magento ver. 1.4.0.1</p>
<p>[/quote]</p>
<p>True.<br />
Generates error_log</p>
<p>[18-Aug-2011 07:14:01] PHP Fatal error:  Class &#8216;Mage_SampleModule1_Helper_Data&#8217; not found in /home/public_html/app/Mage.php on line 523</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thangaraj</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-22012</link>
		<dc:creator>Thangaraj</dc:creator>
		<pubDate>Fri, 22 Jul 2011 09:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-22012</guid>
		<description>Thank you very much
I&#039;m very happy</description>
		<content:encoded><![CDATA[<p>Thank you very much<br />
I&#8217;m very happy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monica</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-21875</link>
		<dc:creator>Monica</dc:creator>
		<pubDate>Tue, 12 Jul 2011 04:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-21875</guid>
		<description>Thanks for the awesome post! Do you know how I would add the Customer&#039;s Company Name (from Billing Address) in an email template&#039;s subject line?</description>
		<content:encoded><![CDATA[<p>Thanks for the awesome post! Do you know how I would add the Customer&#8217;s Company Name (from Billing Address) in an email template&#8217;s subject line?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-21646</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Wed, 22 Jun 2011 10:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-21646</guid>
		<description>Great tutorial, but no emails are sent and no errors are generated. 

Any help would be appreciated. I&#039;ve literally copied the code as is, no customization what so ever, just to check this solution works. I can provide code if need be.

To point out, I&#039;ve placed this within my own controller - e.g. email/enquiry/hello</description>
		<content:encoded><![CDATA[<p>Great tutorial, but no emails are sent and no errors are generated. </p>
<p>Any help would be appreciated. I&#8217;ve literally copied the code as is, no customization what so ever, just to check this solution works. I can provide code if need be.</p>
<p>To point out, I&#8217;ve placed this within my own controller &#8211; e.g. email/enquiry/hello</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naleen Subedi</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-20873</link>
		<dc:creator>Naleen Subedi</dc:creator>
		<pubDate>Tue, 10 May 2011 07:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-20873</guid>
		<description>If you want to just change Email Subject as posted from subject field--

- Go to System&gt; Transactional Emails
- Click your template to Edit
- delete your static Email subject and replace with
{{var data.subject}} 

Here, You should have field with name &quot;subject&quot;</description>
		<content:encoded><![CDATA[<p>If you want to just change Email Subject as posted from subject field&#8211;</p>
<p>- Go to System&gt; Transactional Emails<br />
- Click your template to Edit<br />
- delete your static Email subject and replace with<br />
{{var data.subject}} </p>
<p>Here, You should have field with name &#8220;subject&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vipin</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-19678</link>
		<dc:creator>vipin</dc:creator>
		<pubDate>Thu, 24 Feb 2011 04:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-19678</guid>
		<description>thnx a lot</description>
		<content:encoded><![CDATA[<p>thnx a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-18926</link>
		<dc:creator>Shane</dc:creator>
		<pubDate>Wed, 02 Feb 2011 21:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-18926</guid>
		<description>Awesome

Thank you</description>
		<content:encoded><![CDATA[<p>Awesome</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-16633</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Thu, 13 Jan 2011 10:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-16633</guid>
		<description>hi to all,
i created a custom module in front end. any user can post what they thinking in mind about website.
i used ur script the mail is not going...the final result will false.soo please help me...
In that nothing is their just a using a mail function..no need to interact with the database..just a simple script..</description>
		<content:encoded><![CDATA[<p>hi to all,<br />
i created a custom module in front end. any user can post what they thinking in mind about website.<br />
i used ur script the mail is not going&#8230;the final result will false.soo please help me&#8230;<br />
In that nothing is their just a using a mail function..no need to interact with the database..just a simple script..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alidine</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-9781</link>
		<dc:creator>Alidine</dc:creator>
		<pubDate>Thu, 09 Dec 2010 17:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-9781</guid>
		<description>Hi,
I followed this tuto, but still can&#039;t get it work even if I add these lines
$emailTemplate-&gt;setSenderName(&#039;Test&#039;);
$emailTemplate-&gt;setSenderEmail(&#039;somemail@domain.com&#039;);
$emailTemplate-&gt;setTemplateSubject(&#039;STATUS CHANGED&#039;);
How can I check if the operation is successful?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I followed this tuto, but still can&#8217;t get it work even if I add these lines<br />
$emailTemplate-&gt;setSenderName(&#8216;Test&#8217;);<br />
$emailTemplate-&gt;setSenderEmail(&#8216;somemail@domain.com&#8217;);<br />
$emailTemplate-&gt;setTemplateSubject(&#8216;STATUS CHANGED&#8217;);<br />
How can I check if the operation is successful?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filipe Ibaldo</title>
		<link>http://inchoo.net/ecommerce/magento/magento-custom-emails/comment-page-1/#comment-8733</link>
		<dc:creator>Filipe Ibaldo</dc:creator>
		<pubDate>Tue, 19 Oct 2010 19:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2204#comment-8733</guid>
		<description>It´s works for me!! 
BUUUUUUUUUUUUUUUUUT its required that u clear the cache even don´t use it via admin.

execute &quot;rm -fr var/cache/*&quot;

I worked 2 days in this problem! =/

ps. Im sorry by my English.</description>
		<content:encoded><![CDATA[<p>It´s works for me!!<br />
BUUUUUUUUUUUUUUUUUT its required that u clear the cache even don´t use it via admin.</p>
<p>execute &#8220;rm -fr var/cache/*&#8221;</p>
<p>I worked 2 days in this problem! =/</p>
<p>ps. Im sorry by my English.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

