<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1030741" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1030741</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179652</link>
    <description> &lt;p&gt;Sounds like the best way to do it, otherwise if you just pulled all the info out and waited it would time out.&lt;/p&gt;
&lt;p&gt;first loop should only be 10 or limited to what you send at once (go up to 100 if you have thousands, remember this will try send this amount a second).&lt;br /&gt;
You could even have a short pause between loops, even a second or two would be noticable on the server, and your host might like you more lol&lt;/p&gt;
&lt;p&gt;The down side to this is resources, if you have thousand or so emails to send it will take a while, so best time would be to do it in your quite time if you can work it out from your logs&lt;/p&gt;
 </description>
     <pubDate>Wed, 14 Sep 2005 21:39:16 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1179652 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179602</link>
    <description> &lt;p&gt;ok that is promissing. ill start reading up on that busy.&lt;/p&gt;
&lt;p&gt;do you think it would be possible to to the same thing with nested loops?&lt;/p&gt;
&lt;p&gt;loop thats pulls out all emails from database&lt;br /&gt;
loop that sends 10 emails at a time&lt;br /&gt;
goes back to top loop, ads 10 to the total and then sends another 10 emails&lt;/p&gt;
&lt;p&gt;something like that?&lt;/p&gt;
&lt;p&gt;JP&lt;/p&gt;
 </description>
     <pubDate>Wed, 14 Sep 2005 13:35:59 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1179602 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179504</link>
    <description> &lt;p&gt;A cron is an automated file thingy, you set the time and the file runs, as if someone clicked on that page at that very second.&lt;/p&gt;
&lt;p&gt;You can do the same thing with a manual page, what some people do when they run like auction sites they set the cron file (file not job) to the index, so when someone enters the site the index page includes (or requires) the cron file and it does whatever you want it to do.&lt;br /&gt;
With the sending of mail you can do a time delayed loop, say send 20 then have the script count to whatever then send another 20 ...&lt;br /&gt;
Sending once a week to a very large mailing list would seriously slow down your server, you may want to even send your email a few seconds apart as it will try send 20 per second plus the time to actually go through.&lt;/p&gt;
&lt;p&gt;If your server has Cpanel or similar you can set up and run automatd cron jobs from within Cpanel, just set the time, day/s and file to include&lt;/p&gt;
 </description>
     <pubDate>Tue, 13 Sep 2005 12:23:05 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1179504 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179490</link>
    <description> &lt;p&gt;well if it really can help me in sending 10 emails at a time from a user action then i&#039;m game but i&#039;m not sure it can as it does seem to be purely time based.&lt;/p&gt;
&lt;p&gt;can anyone clarify this?&lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
 </description>
     <pubDate>Tue, 13 Sep 2005 09:44:25 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1179490 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179448</link>
    <description> &lt;p&gt;You&#039;ll need to either have telnet (shell) access to your server, or some other way to interface with it (like 34SP&#039;s cron front-end). You&#039;ll also have to have a host which allows you to run cron jobs.&lt;/p&gt;
&lt;p&gt;  As far as i know its only time periods (Stop me if im wrong anyone).&lt;br /&gt;
  I havent used CRON much but im sure there are people here who are experts at it.&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Sep 2005 22:00:42 +0000</pubDate>
 <dc:creator>vibins</dc:creator>
 <guid isPermaLink="false">comment 1179448 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179447</link>
    <description> &lt;p&gt;ok thanks vibins. read that and have a few questions&lt;/p&gt;
&lt;p&gt;uno: i&#039;ve never used telnet, is that the only way to run cron? if so my telnet software asked what number to call. i&#039;m running this locally. got confused &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;duo: can a cron job be started from a script call by a user? the software mentions only time periods. &lt;/p&gt;
&lt;p&gt;JP&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Sep 2005 21:49:30 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1179447 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179415</link>
    <description> &lt;p&gt;You could try using CRON to automate it. here take a look at this &lt;a href=&quot;http://www.phpfreaks.com/tutorials/28/0.php&quot; class=&quot;bb-url&quot;&gt;http://www.phpfreaks.com/tutorials/28/0.php&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Sep 2005 18:31:55 +0000</pubDate>
 <dc:creator>vibins</dc:creator>
 <guid isPermaLink="false">comment 1179415 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179405</link>
    <description> &lt;p&gt;hey&lt;/p&gt;
&lt;p&gt;an ideas man - thats what i like &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;this is webbased mailing list manager and i would send out a newsletter at least once a week to this subscriber base.&lt;/p&gt;
&lt;p&gt;JP&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Sep 2005 17:11:06 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1179405 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/emails-php#comment-1179356</link>
    <description> &lt;p&gt;Is this something you owuld do often? (sending out monthly newsletter) &lt;/p&gt;
&lt;p&gt;Or once people in the database get the e-mail, they won&#039;t get any in the future?&lt;/p&gt;
&lt;p&gt;I have a couple of ideas to do this depending on the answers&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Sep 2005 13:52:02 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1179356 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
