The text area will (should!) contain a list of e-mail addresses. Knowing users, they can be entered in any possible way; comma delimited, one on each line, space delimited, etc.
I'm thinking about simply putting five text input boxes on the form and validating those. The user could resubmit the form as many times as needed. Most users will enter 1 - 5 addresses anyway.. The hard part with the text area is when someone enters something like this: [EMAIL PROTECTED], user @there.here.com; user@overhere [EMAIL PROTECTED] because@you .com So, I've got all these different delimiters, including spaces, and some addresses have internal spaces, and one is simply wrong. It's a mess.. > -----Original Message----- > From: Aidan Whitehall [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 11:54 AM > To: CF-Talk > Subject: RE: validate email addresses in text area > > > > Does anyone have a routine to parse and validate e-mail > > addresses in a text > > area? > > CFX_CHECK_EMAIL in the Developers Exchange works well on > e-mail addresses. > > Not certain how you'd feed it the e-mail address form a text > area if there > is other text in the area too, though. How would you tell the > difference > between normal text and a malformed e-mail address? > > > -- > Aidan Whitehall <[EMAIL PROTECTED]> > Macromedia ColdFusion Developer > Fairbanks Environmental +44 (0)1695 51775 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

