hey matt...

and i use the same, as ive implemented your trickle code into a clients
email blaster :) but not for this one...

this is much smaller volume, maybe 200 or so at a time, and my mail
server @ my office works fine with this volume...

i sent the code in a follow up to barney's email...

so, by what you say, in a cfmail scenario, any exceptions basically
just crash the whole operation?

so whats the point of cfcatch if you cannot elegantly handle a cfmail exception?

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:194164
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to