Checking for live email addresses in PHP |
Written by Mike James | |||||||
Monday, 23 August 2010 | |||||||
Page 3 of 3
Using the functionTo make everything fit together the complete function is: function validateEmail($email){ To use the function you simply write something like: if( validateEmail("name@domain")){ There is a small possibility that if you use this sort of validation too often at any given site then you might be blacklisted, but as long as the frequency is low enough not to annoy it should be fine.
To access the code for this project, once you have registered, click on CodeBin.
If you would like to be informed about new articles on I Programmer you can either follow us on Twitter, on Facebook or you can subscribe to our weekly newsletter.
|
|||||||
Last Updated ( Monday, 23 August 2010 ) |