OK, I'm uploading the new & improved code now. What I did, in a nutshell: * Created a mail spool table in the database (storing to/from/subject/htmlcontent/textcontent/etc.) * Created a series of CFC's: + one inserts a record into the spool table + one cfc returns top _x_ messages in a query object, ordered by spool time ascending so the oldest messages get sent first. I have the default set to 100 but that can be overriden + another cfc returns messages by spool ID, in case I need to force send a message + another CFC sets a "sent" value in the mail spool table once the message is sent * created a mail spool gateway that has a scheduled task that runs every 5 minutes, sending 100 messages at a time
I still have some admin tools to create, but this will get me back in business. Thanks! Pete On Tue, Aug 25, 2009 at 2:53 PM, Dan Baughman <[email protected]>wrote: > > It's much more than just sending that many at once. Most recipient email > servers will kick you out for sending too many, too fast, as well. > ie. yahoo will ban you for 48 hours if you try to delivery too many emails > in a short period of time. To delivery effectively you also need > domain-specific throttling. > > Dan > > On Tue, Aug 25, 2009 at 8:54 AM, Cameron Childress <[email protected] > >wrote: > > > > > On Mon, Aug 24, 2009 at 4:58 PM, Pete Ruckelshaus<[email protected] > > > > wrote: > > > I got dinged by my ISP for sending 2,000 email newsletters at once. > Any > > > ideas on how to "throttle" these emails so that they are sent in small > > > batches, i.e. 100 per minute? Is there a simple way to accomplish > this, > > or > > > do I just need to write my own code that loops through and sends emails > > > incrementally? > > > > You may have better luck just paying for SMTP services from a company > > who doesn't mind you sending that many emails at once. You might even > > open that conversation with your ISP and ask them if they would be > > willing to allow you to pay a little extra for the privilege of using > > their outbound SMTP a little more. Some ISPs have a business account > > or some other type of email accoutnt hat would allow you to do this. > > > > -Camer > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325757 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

