Bill I have seen two methods used. One is to directly write emails to disk as files in the mailserver que. The other is to mail batches of 10 or so mails, then end with re-direct to self if have more emails to send. The Re-direct re-sets the application timeout. Use variables to track where in the list of names you are looping.
-> Kent Swisher Application Support Engineer -> Alcatel USA Eng Services Supervisor -> Wireline Access Products Eng Srvcs Content Mgr/Webmaster -> Petaluma, CA [EMAIL PROTECTED] Bill Conlon wrote: > > I know this topic has come up before, but I haven't found it in the > archive. > > I want to send e-mails to a large number of contacts in the database. > After getting all the desired e-mails I use a for action to loop and send > mail out to each individual. I get about 75 mails sent before the > application times out in my browser. Rather than fiddling with timeouts, > since server load can affect things, and the list size can grow, it seems > another approach is prudent. > > One approach is to gather up all the addressees and place them in the BCC > field instead of the TO field, subject to limits on the number of > addresses my mail server allows. AppleShare IP Mail allows 4096 > recipients per message, about a factor of ten above my current > requirement, so this would probably work for the forseeable future. > > Another is to create some queues and semaphores, and then use a CRON taf > to periodically gather up messages and send them out. > > Do CRON jobs suffer a similar variable timeout issue? > > The first seems the easiest to me. Any other ideas? > > > > Bill Conlon > > To the Point > 345 California Avenue Suite 2 > Palo Alto, CA 94306 > > office: 650.327.2175 > fax: 650.329.8335 > mobile: 650.906.9929 > e-mail: mailto:[EMAIL PROTECTED] > web: http://www.tothept.com > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
