healy787 Posted May 29, 2009 Share Posted May 29, 2009 Hi people, I have a client who is receiving numerous random emails through an online contact form. The email addresses are non existent and the content is jargon. I validate via javascript. I need a way to validate the email address...DNS validation???? The example email addresses they are receiving are vkefdw@akwmgn.com, the content is much the same. I am using standard CAPTCHA validation as well which i know has been broken however i believe email validation would help. Thanks very much Matt Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted May 29, 2009 Share Posted May 29, 2009 Define email validation. You mean check if the format is correct or check if the email address exists? Quote Link to comment Share on other sites More sharing options...
healy787 Posted May 29, 2009 Author Share Posted May 29, 2009 Sorry...I have the standard validation which checks the characters, etc. I need to ensure the email address exists or possibly exists. Thanks. Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted May 29, 2009 Share Posted May 29, 2009 Read this - http://www.phpfreaks.com/forums/index.php/topic,251988.msg1183389.html#msg1183389 Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted May 29, 2009 Share Posted May 29, 2009 http://www.zend.com/code/codex.php?ozid=449&single=1 bit more complex for the noob but that code goes an interrogates the server the email box is held and asks it if it would accept an email to that address. Many have catch alls so it could be that the actual email doesn't exist but it will be sent somewhere. what It WILL give you is if the response from that server says the address soesn't exists then it definitely doesn't exist. come back with any questions if you need to. enjoy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.