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 [email protected], 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 Link to comment https://forums.phpfreaks.com/topic/160213-email-validationplease-please-help/ 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? Link to comment https://forums.phpfreaks.com/topic/160213-email-validationplease-please-help/#findComment-845363 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. Link to comment https://forums.phpfreaks.com/topic/160213-email-validationplease-please-help/#findComment-845365 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 Link to comment https://forums.phpfreaks.com/topic/160213-email-validationplease-please-help/#findComment-845367 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 Link to comment https://forums.phpfreaks.com/topic/160213-email-validationplease-please-help/#findComment-845369 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.