not do... i meant, look like... whats the code inside that file?
tw On Thu, 10 Feb 2005 21:23:50 -0500, Tony Weeg <[EMAIL PROTECTED]> wrote: > 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 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194171 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