<?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: How to disable email sending when programatically creating an order in Magento</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Fri, 10 Feb 2012 19:34:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kurtis</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-25569</link>
		<dc:creator>Kurtis</dc:creator>
		<pubDate>Wed, 11 Jan 2012 01:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-25569</guid>
		<description>@robin

This worked for me

				[code]Mage::app()-&gt;getStore()-&gt;setConfig(Mage_Customer_Model_Customer::XML_PATH_REGISTER_EMAIL_TEMPLATE, &quot;0&quot;);
				Mage::app()-&gt;getStore()-&gt;setConfig(Mage_Customer_Model_Customer::XML_PATH_REGISTER_EMAIL_IDENTITY, &quot;0&quot;); [/code]

in a custom customer.php file we have. Worked for my english store, but not in my french store. ;P</description>
		<content:encoded><![CDATA[<p>@robin</p>
<p>This worked for me</p>
<pre class="brush: plain; title: ; notranslate">Mage::app()-&gt;getStore()-&gt;setConfig(Mage_Customer_Model_Customer::XML_PATH_REGISTER_EMAIL_TEMPLATE, &quot;0&quot;);
				Mage::app()-&gt;getStore()-&gt;setConfig(Mage_Customer_Model_Customer::XML_PATH_REGISTER_EMAIL_IDENTITY, &quot;0&quot;); </pre>
<p>in a custom customer.php file we have. Worked for my english store, but not in my french store. ;P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vedran Subotic</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-24116</link>
		<dc:creator>Vedran Subotic</dc:creator>
		<pubDate>Thu, 01 Dec 2011 11:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-24116</guid>
		<description>@robin

sure you can...
try to trace the code in the class:
[code]Mage_Customer_Model_Customer[/code]
and trace which XML_PATH you need</description>
		<content:encoded><![CDATA[<p>@robin</p>
<p>sure you can&#8230;<br />
try to trace the code in the class:</p>
<pre class="brush: plain; title: ; notranslate">Mage_Customer_Model_Customer</pre>
<p>and trace which XML_PATH you need</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robin</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-24114</link>
		<dc:creator>robin</dc:creator>
		<pubDate>Thu, 01 Dec 2011 10:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-24114</guid>
		<description>Can I disable the welcome e-mail?
I have a silent account creation so customers don&#039;t need to register explicitly, but an account is made so they can check their order status. 
They receive 3 e-mails when placing an order: welcome email, separate password email and confirmation email</description>
		<content:encoded><![CDATA[<p>Can I disable the welcome e-mail?<br />
I have a silent account creation so customers don&#8217;t need to register explicitly, but an account is made so they can check their order status.<br />
They receive 3 e-mails when placing an order: welcome email, separate password email and confirmation email</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: -G-</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-19367</link>
		<dc:creator>-G-</dc:creator>
		<pubDate>Mon, 07 Feb 2011 23:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-19367</guid>
		<description>Can I disable the Order Confirmation email only ?

Customers receive 3 auto emails.
 
Order confirmation, order complete &amp; Order shipped. 

latter are processed at the same time and are redundant.

Thanks -</description>
		<content:encoded><![CDATA[<p>Can I disable the Order Confirmation email only ?</p>
<p>Customers receive 3 auto emails.</p>
<p>Order confirmation, order complete &amp; Order shipped. </p>
<p>latter are processed at the same time and are redundant.</p>
<p>Thanks -</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nico</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-14517</link>
		<dc:creator>nico</dc:creator>
		<pubDate>Thu, 30 Dec 2010 11:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-14517</guid>
		<description>Hi, 

thanks for sharing this tip, but I havea slightly different problem and maybe you can help.

When I&#039;m enabling the ordermail system-&gt; configuration -&gt; Sales Email -&gt; Order
both the customer and the admin get the same email.

But I just want the admin to get the email because theres another backend sending the emails to the customer.

Do you have an idea?</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>thanks for sharing this tip, but I havea slightly different problem and maybe you can help.</p>
<p>When I&#8217;m enabling the ordermail system-&gt; configuration -&gt; Sales Email -&gt; Order<br />
both the customer and the admin get the same email.</p>
<p>But I just want the admin to get the email because theres another backend sending the emails to the customer.</p>
<p>Do you have an idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-9156</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 12 Nov 2010 12:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-9156</guid>
		<description>Interestingly this doesn&#039;t seem to work with the newsletter subscription. The email is still sent.

[code]
Mage::app()-&gt;getStore()-&gt;setConfig(Mage_Sales_Model_Order::XML_PATH_EMAIL_ENABLED, &quot;0&quot;);
Mage::getModel(&#039;newsletter/subscriber&#039;)-&gt;subscribe(&#039;example@example.com&#039;);
[/code]

This is on CE 1.4.</description>
		<content:encoded><![CDATA[<p>Interestingly this doesn&#8217;t seem to work with the newsletter subscription. The email is still sent.</p>
<pre class="brush: plain; title: ; notranslate">
Mage::app()-&gt;getStore()-&gt;setConfig(Mage_Sales_Model_Order::XML_PATH_EMAIL_ENABLED, "0");
Mage::getModel('newsletter/subscriber')-&gt;subscribe('example@example.com');
</pre>
<p>This is on CE 1.4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas Novoseli?</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-7715</link>
		<dc:creator>Tomas Novoseli?</dc:creator>
		<pubDate>Mon, 26 Jul 2010 05:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-7715</guid>
		<description>@Jonathan 
Config is not saved so you don&#039;t need to turn anything back. This code is merely used to overide saved config value at the moment you need it.</description>
		<content:encoded><![CDATA[<p>@Jonathan<br />
Config is not saved so you don&#8217;t need to turn anything back. This code is merely used to overide saved config value at the moment you need it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Day</title>
		<link>http://inchoo.net/ecommerce/magento/how-to-disable-email-sending-when-programatically-creating-an-order-in-magento/comment-page-1/#comment-7704</link>
		<dc:creator>Jonathan Day</dc:creator>
		<pubDate>Fri, 23 Jul 2010 12:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=5140#comment-7704</guid>
		<description>nice.  I assume it needs to be turned back on again after saving the order?</description>
		<content:encoded><![CDATA[<p>nice.  I assume it needs to be turned back on again after saving the order?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

