> I've got a database that didn't use form validation and some email 
> addresses are
> not valid.  So before I use the cfmail tag to send these out how can I 
> check to make
> sure it's a valid email address?

It depends what you mean by "valid".  You can check for valid syntax on the 
fly using isValid("email",email) (CF7 only).  At least this will allow you 
to get through the whole list without generating an error.

Checking to see if the email box exists on a server somewhere is another 
issue and is more tricky to handle - there are solutions out there to handle 
that though.  I don't think you want to do that on the fly as it's quite 
slow.

Mmmm, yogurt.

-- Josh


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to