On 11/6/06, Andrew Tyrone <[EMAIL PROTECTED]> wrote: > Of course, that's all in a perfect world I suppose.
Exactly. If you don't build a robust procedure then you have to absolutely trust your data validation scheme and accept that if anything gets past it you are OK with the whole routine exploding; since the query attribute makes no allowance for recovery. >This method won't catch an invalid email address; Nor is it meant to. The cfmail statement is concentrating on just doing its assigned job: sending mail to the mail server for attempted delivery. Validating the data is a separate issue handled by separate code. >...just a malformed one, but of course neither will data validation. If you mean a 'bad' address in the sense that the sending mail server that CF hands off fails to deliver for some reason and bounces, thats still another job that has to be dealt with in a third component, like CFX_validEmail or boogieBounce and IMS. You should do all this stuff. CFMail only does a part of it and, if you are doing any sort of mass mailing, the query attribute opens you up to a failure with nasty consequences. -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259391 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

