Re: Check for valid email before CFMAIL

2007-05-01 Thread Matt Robertson
verify your email addresses above the cfmail statement as described. if not valid email then branch your code to notify somebody that Record X has a sucky address that needs fixing (I compile a complete list of all failures and only send the list once its finished). After that, surround your cfmai

Re: Check for valid email before CFMAIL

2007-05-01 Thread Robertson-Ravo, Neil (RX)
om: Rick Root To: CF-Talk Sent: Tue May 01 18:59:33 2007 Subject: Re: Check for valid email before CFMAIL Shoot I forgot.. CFMX 7 introduced isValid() which allows you to validate the format of an email address. google isValid +sit

Re: Check for valid email before CFMAIL

2007-05-01 Thread Rick Root
Shoot I forgot.. CFMX 7 introduced isValid() which allows you to validate the format of an email address. google isValid +site:livedocs.adobe.com ~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with

Re: Check for valid email before CFMAIL

2007-05-01 Thread Rick Root
google, isEmail +site:cflib.org You won't be able to use the query attribute on cfmail if you have badly formatted email addresses in your database though... unless you loop through the query and "correct" or "remove" the rows with invalid email addresses first using the UDF you find on cflib. Ri

Re: Check for valid email before CFMAIL

2007-05-01 Thread Josh Nathanson
> 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

RE: Check for valid email before CFMAIL

2007-05-01 Thread Andy Matthews
You can check to see if the email is syntactically correct, but short of opening a socket to the mail server used by that email, there's no way of checking that it's a "real" email address. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 01, 20