I usually use an NSLOOKUP query to verify that domains have a valid MX record -- but that doesn't always work, even for valid addresses.
Darryl -----Original Message----- From: Tim Lucas [mailto:[EMAIL PROTECTED] Posted At: Wednesday, 6 August 2003 9:51 PM Posted To: CFAussie Conversation: [cfaussie] Re: Validate a email address Subject: [cfaussie] Re: Validate a email address 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/ --- 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/
