<?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 Newsletter</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/magento-newsletter/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/magento-newsletter/</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Thu, 09 Sep 2010 01:30:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Nabler</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-8082</link>
		<dc:creator>Nabler</dc:creator>
		<pubDate>Tue, 07 Sep 2010 06:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-8082</guid>
		<description>Its work now thnx....</description>
		<content:encoded><![CDATA[<p>Its work now thnx&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nabler</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-8080</link>
		<dc:creator>Nabler</dc:creator>
		<pubDate>Tue, 07 Sep 2010 04:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-8080</guid>
		<description>but the newsletter not send to the subscriber any way..
i&#039;ve been workin for this over 24 hours please lead me to the right direction.......</description>
		<content:encoded><![CDATA[<p>but the newsletter not send to the subscriber any way..<br />
i&#8217;ve been workin for this over 24 hours please lead me to the right direction&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni Anicic</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-8071</link>
		<dc:creator>Toni Anicic</dc:creator>
		<pubDate>Mon, 06 Sep 2010 08:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-8071</guid>
		<description>@Nabler,

That&#039;s exactly what you should get when you run cron.php :)</description>
		<content:encoded><![CDATA[<p>@Nabler,</p>
<p>That&#8217;s exactly what you should get when you run cron.php <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nabler</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-8070</link>
		<dc:creator>Nabler</dc:creator>
		<pubDate>Mon, 06 Sep 2010 07:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-8070</guid>
		<description>Its not working for me i just got a blank page when i run cron.php

please help me....SOS</description>
		<content:encoded><![CDATA[<p>Its not working for me i just got a blank page when i run cron.php</p>
<p>please help me&#8230;.SOS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nj</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-7787</link>
		<dc:creator>Nj</dc:creator>
		<pubDate>Fri, 06 Aug 2010 09:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-7787</guid>
		<description>Hi guys,

I have cron job :
[code]
require &#039;app/Mage.php&#039;;

if (!Mage::isInstalled()) {
    echo &quot;Application is not installed yet, please complete install wizard first.&quot;;
    exit;
}

// Only for urls
// Don&#039;t remove this
$_SERVER[&#039;SCRIPT_NAME&#039;] = str_replace(basename(__FILE__), &#039;index.php&#039;, $_SERVER[&#039;SCRIPT_NAME&#039;]);
$_SERVER[&#039;SCRIPT_FILENAME&#039;] = str_replace(basename(__FILE__), &#039;index.php&#039;, $_SERVER[&#039;SCRIPT_FILENAME&#039;]);

Mage::app(&#039;admin&#039;)-&gt;setUseSessionInUrl(false);

try {
	Mage::getConfig()-&gt;init()-&gt;loadEventObservers(&#039;crontab&#039;);
	Mage::app()-&gt;addEventArea(&#039;crontab&#039;);
	Mage::dispatchEvent(&#039;default&#039;);
	$ob = Mage::getModel(&#039;catalogrule/observer&#039;);
	$ob-&gt;dailyCatalogUpdate(&quot;0 1 * * *&quot;);
} catch (Exception $e) {
    Mage::printException($e);
}
?&gt;
[/code]

When I set a newsletter template and assign in queue, it showing &#039;Not sent&#039; but when I run cron.php manually. after some time it showing &#039;Sent&#039;. But no any mail comes on subscribers email addresses. 

Anyone can do help me to retrieve this problem?</description>
		<content:encoded><![CDATA[<p>Hi guys,</p>
<p>I have cron job :</p>
<div class="cic_codes_div"><code><br />
require &#039;app/Mage.php&#039;;</p>
<p>if (!Mage::isInstalled()) {<br />
    echo &quot;Application is not installed yet, please complete install wizard first.&quot;;<br />
    exit;<br />
}</p>
<p>// Only for urls<br />
// Don&#039;t remove this<br />
$_SERVER[&#039;SCRIPT_NAME&#039;] = str_replace(basename(__FILE__), &#039;index.php&#039;, $_SERVER[&#039;SCRIPT_NAME&#039;]);<br />
$_SERVER[&#039;SCRIPT_FILENAME&#039;] = str_replace(basename(__FILE__), &#039;index.php&#039;, $_SERVER[&#039;SCRIPT_FILENAME&#039;]);</p>
<p>Mage::app(&#039;admin&#039;)-&amp;gt;setUseSessionInUrl(false);</p>
<p>try {<br />
	Mage::getConfig()-&amp;gt;init()-&amp;gt;loadEventObservers(&#039;crontab&#039;);<br />
	Mage::app()-&amp;gt;addEventArea(&#039;crontab&#039;);<br />
	Mage::dispatchEvent(&#039;default&#039;);<br />
	$ob = Mage::getModel(&#039;catalogrule/observer&#039;);<br />
	$ob-&amp;gt;dailyCatalogUpdate(&quot;0 1 * * *&quot;);<br />
} catch (Exception $e) {<br />
    Mage::printException($e);<br />
}<br />
?&amp;gt;<br />
</code></div>
<p>When I set a newsletter template and assign in queue, it showing &#8216;Not sent&#8217; but when I run cron.php manually. after some time it showing &#8216;Sent&#8217;. But no any mail comes on subscribers email addresses. </p>
<p>Anyone can do help me to retrieve this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bashdaddy</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-7159</link>
		<dc:creator>Bashdaddy</dc:creator>
		<pubDate>Thu, 27 May 2010 15:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-7159</guid>
		<description>I&#039;ve tried everything and can&#039;t get my newsletter to run.  I have tried all sorts of times and I have pulled the file via the search bar.  When I do that all I see is a white screen but no emails are sent.  This is my cron file.

require &#039;app/Mage.php&#039;;

if (!Mage::isInstalled()) {
    echo &quot;Application is not installed yet, please complete install wizard first.&quot;;
    exit;
}

// Only for urls
// Don&#039;t remove this
$_SERVER[&#039;SCRIPT_NAME&#039;] = str_replace(basename(__FILE__), &#039;index.php&#039;, $_SERVER[&#039;SCRIPT_NAME&#039;]);
$_SERVER[&#039;SCRIPT_FILENAME&#039;] = str_replace(basename(__FILE__), &#039;index.php&#039;, $_SERVER[&#039;SCRIPT_FILENAME&#039;]);

Mage::app(&#039;admin&#039;)-&gt;setUseSessionInUrl(false);

try {
    Mage::getConfig()-&gt;init()-&gt;loadEventObservers(&#039;crontab&#039;);
    Mage::app()-&gt;addEventArea(&#039;crontab&#039;);
    Mage::dispatchEvent(&#039;default&#039;);
} catch (Exception $e) {
    Mage::printException($e);
}


Any ideas here... I&#039;m clueless but  I need to send out emails.  Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried everything and can&#8217;t get my newsletter to run.  I have tried all sorts of times and I have pulled the file via the search bar.  When I do that all I see is a white screen but no emails are sent.  This is my cron file.</p>
<p>require &#8216;app/Mage.php&#8217;;</p>
<p>if (!Mage::isInstalled()) {<br />
    echo &#8220;Application is not installed yet, please complete install wizard first.&#8221;;<br />
    exit;<br />
}</p>
<p>// Only for urls<br />
// Don&#8217;t remove this<br />
$_SERVER['SCRIPT_NAME'] = str_replace(basename(__FILE__), &#8216;index.php&#8217;, $_SERVER['SCRIPT_NAME']);<br />
$_SERVER['SCRIPT_FILENAME'] = str_replace(basename(__FILE__), &#8216;index.php&#8217;, $_SERVER['SCRIPT_FILENAME']);</p>
<p>Mage::app(&#8216;admin&#8217;)-&gt;setUseSessionInUrl(false);</p>
<p>try {<br />
    Mage::getConfig()-&gt;init()-&gt;loadEventObservers(&#8216;crontab&#8217;);<br />
    Mage::app()-&gt;addEventArea(&#8216;crontab&#8217;);<br />
    Mage::dispatchEvent(&#8216;default&#8217;);<br />
} catch (Exception $e) {<br />
    Mage::printException($e);<br />
}</p>
<p>Any ideas here&#8230; I&#8217;m clueless but  I need to send out emails.  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frederik Krautwald</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6715</link>
		<dc:creator>Frederik Krautwald</dc:creator>
		<pubDate>Mon, 12 Apr 2010 14:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6715</guid>
		<description>Does anyone know of a variable to put in the newsletter template, that will allow the user to view an online version? Like you can preview it from the admin area.</description>
		<content:encoded><![CDATA[<p>Does anyone know of a variable to put in the newsletter template, that will allow the user to view an online version? Like you can preview it from the admin area.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sigi</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6598</link>
		<dc:creator>Sigi</dc:creator>
		<pubDate>Tue, 30 Mar 2010 14:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6598</guid>
		<description>Many many Thanks Toni.  This worked and kicked off the process.</description>
		<content:encoded><![CDATA[<p>Many many Thanks Toni.  This worked and kicked off the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni Anicic</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6593</link>
		<dc:creator>Toni Anicic</dc:creator>
		<pubDate>Mon, 29 Mar 2010 22:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6593</guid>
		<description>@Sigi,

Set it in past. If your store is installed on the root of domain, just visit example.com/cron.php with your browser. If it&#039;s not in root, add the folder where Magento is before /cron.php

If this doesn&#039;t work, there might be somethign wrong with your configuration.</description>
		<content:encoded><![CDATA[<p>@Sigi,</p>
<p>Set it in past. If your store is installed on the root of domain, just visit example.com/cron.php with your browser. If it&#8217;s not in root, add the folder where Magento is before /cron.php</p>
<p>If this doesn&#8217;t work, there might be somethign wrong with your configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sigi</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6592</link>
		<dc:creator>Sigi</dc:creator>
		<pubDate>Mon, 29 Mar 2010 21:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6592</guid>
		<description>Hi Guys.  Trying to send a newsletter for the first time.  I cant seem to get it to work.
The drop down box on the newsletter wueue only contains the option &quot;preview&quot;.  I tried schedulng a send out both in future and past, but no newsletter gets sent.  
On the previous post it states that you may be able to kick off the cron job manually.  Where is the cronid the url calls for?  I know it must be something dumb I am doing because its my first time, but cant seem tget it to work.
Any advice would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Hi Guys.  Trying to send a newsletter for the first time.  I cant seem to get it to work.<br />
The drop down box on the newsletter wueue only contains the option &#8220;preview&#8221;.  I tried schedulng a send out both in future and past, but no newsletter gets sent.<br />
On the previous post it states that you may be able to kick off the cron job manually.  Where is the cronid the url calls for?  I know it must be something dumb I am doing because its my first time, but cant seem tget it to work.<br />
Any advice would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coffee Pods</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6558</link>
		<dc:creator>Coffee Pods</dc:creator>
		<pubDate>Wed, 24 Mar 2010 15:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6558</guid>
		<description>Thanks for your help guys i&#039;m just about to send my first newsletter</description>
		<content:encoded><![CDATA[<p>Thanks for your help guys i&#8217;m just about to send my first newsletter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gtech</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6194</link>
		<dc:creator>Gtech</dc:creator>
		<pubDate>Sat, 13 Feb 2010 11:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6194</guid>
		<description>Thank you for your sugestions. Keep posting.</description>
		<content:encoded><![CDATA[<p>Thank you for your sugestions. Keep posting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Next</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6084</link>
		<dc:creator>Next</dc:creator>
		<pubDate>Tue, 02 Feb 2010 12:06:43 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6084</guid>
		<description>Thanks for the suggestion, maybe you are pointing me in the right direction.    :-)</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestion, maybe you are pointing me in the right direction.    <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni Anicic</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6083</link>
		<dc:creator>Toni Anicic</dc:creator>
		<pubDate>Tue, 02 Feb 2010 11:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6083</guid>
		<description>I think script runs multiple times when cron is activated, it sure isn&#039;t sending 20 every 15 minutes, it&#039;s sending more (even with default installation). 

However, I&#039;m not a programmer so I can&#039;t give you any answers from that perspective :)</description>
		<content:encoded><![CDATA[<p>I think script runs multiple times when cron is activated, it sure isn&#8217;t sending 20 every 15 minutes, it&#8217;s sending more (even with default installation). </p>
<p>However, I&#8217;m not a programmer so I can&#8217;t give you any answers from that perspective <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Next</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6082</link>
		<dc:creator>Next</dc:creator>
		<pubDate>Tue, 02 Feb 2010 11:37:44 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6082</guid>
		<description>Ok, in the meantime I found out where the value is. Two locations:
1) 
\app\Code\Core\Mage\Adminhtml\Controllers\Newslette\Queuecontroller.php
Inside &quot;public function sendingAction()&quot; &gt;  $countOfSubscritions = 20;

2) 
\app\Code\Core\Mage\Newsletter\Model\Observer.php
Inside &quot;public function scheduledSend($schedule)&quot; &gt; $countOfSubscritions = 20;

So default limit is 20, which is a pretty conservative batch size. Good.
Tonight cron was configured to run each 15 minutes. It ran two times, then I see no more &quot;cron.php&quot; entries in the server log.
20 x 2 = 40 =&gt; Subscribers 1 to 40 should be marked &quot;sent&quot; in newsletter admin.
Instead, Magento admin marks users 1 to ***300*** as sent. The mail server queue had 180 e-mails when it died.
Do you agree that problem was probably cause by strange behaviour of cron.php? Did you experience anything wrong with it on your projects?
Thanks!</description>
		<content:encoded><![CDATA[<p>Ok, in the meantime I found out where the value is. Two locations:<br />
1)<br />
\app\Code\Core\Mage\Adminhtml\Controllers\Newslette\Queuecontroller.php<br />
Inside &#8220;public function sendingAction()&#8221; &gt;  $countOfSubscritions = 20;</p>
<p>2)<br />
\app\Code\Core\Mage\Newsletter\Model\Observer.php<br />
Inside &#8220;public function scheduledSend($schedule)&#8221; &gt; $countOfSubscritions = 20;</p>
<p>So default limit is 20, which is a pretty conservative batch size. Good.<br />
Tonight cron was configured to run each 15 minutes. It ran two times, then I see no more &#8220;cron.php&#8221; entries in the server log.<br />
20 x 2 = 40 =&gt; Subscribers 1 to 40 should be marked &#8220;sent&#8221; in newsletter admin.<br />
Instead, Magento admin marks users 1 to ***300*** as sent. The mail server queue had 180 e-mails when it died.<br />
Do you agree that problem was probably cause by strange behaviour of cron.php? Did you experience anything wrong with it on your projects?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni Anicic</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6078</link>
		<dc:creator>Toni Anicic</dc:creator>
		<pubDate>Tue, 02 Feb 2010 10:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6078</guid>
		<description>@Next,

Not sure where the limit can be seen or configured in code, but I&#039;m 100% positive that Magento will not send all e-mails at once.</description>
		<content:encoded><![CDATA[<p>@Next,</p>
<p>Not sure where the limit can be seen or configured in code, but I&#8217;m 100% positive that Magento will not send all e-mails at once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Next</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6077</link>
		<dc:creator>Next</dc:creator>
		<pubDate>Tue, 02 Feb 2010 10:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6077</guid>
		<description>Toni, thanks for this tutorial. Can you explain where the &quot;integrated limit on the number of emails it can send at once&quot; is found?
Tonight we scheduled an HTML newsletter with 470 subcribers, you know a very small group. Newsletter code was professionally created, all images external.
To our surprise, Magento filled out the mail server to death.
There really needs to make this &quot;integrated limit&quot; visible in the configuration. So the admin can choose a batch size compatible with available resources.</description>
		<content:encoded><![CDATA[<p>Toni, thanks for this tutorial. Can you explain where the &#8220;integrated limit on the number of emails it can send at once&#8221; is found?<br />
Tonight we scheduled an HTML newsletter with 470 subcribers, you know a very small group. Newsletter code was professionally created, all images external.<br />
To our surprise, Magento filled out the mail server to death.<br />
There really needs to make this &#8220;integrated limit&#8221; visible in the configuration. So the admin can choose a batch size compatible with available resources.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Weiler</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-6073</link>
		<dc:creator>Ivan Weiler</dc:creator>
		<pubDate>Mon, 01 Feb 2010 19:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-6073</guid>
		<description>Thanks Toni, I owe you a beer! Who said programmers can&#039;t learn from marketing guys ;)</description>
		<content:encoded><![CDATA[<p>Thanks Toni, I owe you a beer! Who said programmers can&#8217;t learn from marketing guys <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhaval</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-5841</link>
		<dc:creator>Dhaval</dc:creator>
		<pubDate>Tue, 12 Jan 2010 06:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-5841</guid>
		<description>If U give code and live demo how this newsletter Work So it&#039;s more Better To Understand But this will also help full 
whatever, THANX</description>
		<content:encoded><![CDATA[<p>If U give code and live demo how this newsletter Work So it&#8217;s more Better To Understand But this will also help full<br />
whatever, THANX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anoop</title>
		<link>http://inchoo.net/ecommerce/magento/magento-newsletter/comment-page-1/#comment-3559</link>
		<dc:creator>anoop</dc:creator>
		<pubDate>Tue, 20 Oct 2009 06:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2631#comment-3559</guid>
		<description>@Toni Anicic
   Actually there is a start option in the drop down under the Action column. In our case it was&#039;nt showing. Thats why we had to use this method..[:P]</description>
		<content:encoded><![CDATA[<p>@Toni Anicic<br />
   Actually there is a start option in the drop down under the Action column. In our case it was&#8217;nt showing. Thats why we had to use this method..[:P]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
