Hey gang. It seems that (in CF8) using IsValid() to check for valid email addresses has an issue.
I've got a system where folks can upload data files to get dumped into DB tables. Sometimes, these data files end up with extra odd invisible characters on the end of some fields (junky source data), and sometimes these end up in the column with the email addresses. My old CF code for using these emails, I had a Trim() on the email field prior to pushing through the cfmail tag. The Trim() would remove any offending extra crapola just fine. We just put into service a rework of part of our system, done in PHP. At one point, there was no Trim() (same function in both) on the email addresses. And emails with the extra junk would trip an exception, get caught, I'd get an email with the info. I had a script from a while back that would read all the emails in our system, loop over and validate using IsValid(), and nuke any bad addresses. Trick is, IsValid() isn't catching these addresses. It's passing them through as good. Is this a known bug in CF8? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328799 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

