bobvaz Posted November 24, 2008 Share Posted November 24, 2008 I have a form validation program on both the client side and server side which performs a syntactic check on the email address (and other fields on a form). Through all my googling, I cannot find a way to actually check if the email address (after verifying it syntactically) is correct. Can anyone tell me what is available for me to actually send the address to the site and check if it is 'real'? Thanks in advance. Bob Quote Link to comment https://forums.phpfreaks.com/topic/134114-email-address-validation-ping/ Share on other sites More sharing options...
jkewlo Posted November 24, 2008 Share Posted November 24, 2008 is it possible? Quote Link to comment https://forums.phpfreaks.com/topic/134114-email-address-validation-ping/#findComment-698110 Share on other sites More sharing options...
premiso Posted November 24, 2008 Share Posted November 24, 2008 The best way to do this with php is the checkdnsrr http://www.sitepoint.com/article/users-email-address-php/ Is a site about that. Quote Link to comment https://forums.phpfreaks.com/topic/134114-email-address-validation-ping/#findComment-698114 Share on other sites More sharing options...
bobvaz Posted November 24, 2008 Author Share Posted November 24, 2008 Thanks.... Will give it a shot Quote Link to comment https://forums.phpfreaks.com/topic/134114-email-address-validation-ping/#findComment-698160 Share on other sites More sharing options...
revraz Posted November 24, 2008 Share Posted November 24, 2008 That will only check to see if the domain exists, not the email itself. Is this something a user will register for? If so, use confirmation emails. Quote Link to comment https://forums.phpfreaks.com/topic/134114-email-address-validation-ping/#findComment-698167 Share on other sites More sharing options...
premiso Posted November 24, 2008 Share Posted November 24, 2008 That will only check to see if the domain exists, not the email itself. Is this something a user will register for? If so, use confirmation emails. Correct. If the ultimate goal is to see if the actual email account exists, unfortunately that is not possible without using an email account from the server for returned emails and parsing them etc then updating the database if it bounced. Or do the confirmation email, but as personal experience, especially aol hotmail and yahoo tend to filter emails from my server as spam if they are not added to the trusted list so the user never sees those emails. So the confirmation emails has to be overriden to verify the user in this case cause they may never see the email. Hope that helps either way, at least it is one step closer to being a valid email address. Quote Link to comment https://forums.phpfreaks.com/topic/134114-email-address-validation-ping/#findComment-698177 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.