There is no way to actually check if an email account exists on a mail server without getting a bounce-back message (otherwise imagine the field day the spammers would have!).

You can do two things though:
1) Check it is syntactically correct, i.e. something like: ReFind("[EMAIL PROTECTED]", #email_address#)
2) Check there the server is valid and there is an active mail server (try to connect to port 25 on the server).


CFDev also have a custom tag for just this (although its $100 US):
http://www.cfdev.com/email/verify/

- tim

Guy spoke the following wise words on 6/08/2003 8:48 PM EST:

Hi,
Is there a way to validate a email address before submitting the email?

I know of how to validate a URL, by submitting a HTTP request via <CFHTTP>
and then checking if the response message code is 200.

Is there something similar to check an Email address?

I could possibly use <CFPOP> tag to check if the email was successful, but I
wish to check the email address before sending the email.

Any help would be appreciated.

Regards
Guy



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/






---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to