Dear Céryl,
I use this whenever someone registers (to create a new account) or
uses a contact us form for feedbacks
App::import('Core', array('Validation'));
if(Validation::email($email, true)) {
/*
it verifies $email synrax
it verifies availability of the host (after the @)
*/
}
have a nice baking day
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---