matt. how does that differ from what im doing?
just wondering... also, what does the inc_errcatch_mail.cfm block do? tw On Thu, 10 Feb 2005 17:02:45 -0800, Matt Robertson <[EMAIL PROTECTED]> wrote: > Do you mean you are using cfmail's query attribute, or you are using a > cfloop over a query result set with a cfmail inside of it? Seems like > the latter but I thought I'd better ask. If the former its going to > hit the try/catch and that'll be the end of the cfmail operation, I > believe. > > Here's a chopped-down version of what I use. The catch file does > essentially what you described, although it stores all errors to a db > and emails the lot in one shot at the end of the run. > > <cfloop > query="Addresses" > startrow="1" > endrow="#variables.RunRate#"> > <cftry> > <cfmail > to="#Addresses.InclEmailAddr#" > from="#session.Trickler.myEmail#" > subject="#session.Trickler.MsgTitle#" > server="#Settings.myEmailServer#" > type="HTML"> > #session.Trickler.PageText# > </cfmail> > <cfcatch type="Any"> > <cfinclude template="includes/inc_errcatch_mail.cfm"> > </cfcatch> > </cftry> > </cfloop> > > -- > --mattRobertson-- > Janitor, MSB Web Systems > mysecretbase.com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194172 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54