profileValidateEmail
Description
Validates a user's email address
Syntax
mixed profileValidateEmail (string &$value)
Parameter &$value
Expected type: String
Description: The email address to validate
Return value
Expected type: Mixed
Description:
Possible types | |
Allowed values | Description |
Boolean | Returns true if the email is valid |
Enumerated String | A string indicating why it wasn't valid - 'no_email' if they didn't even enter one, 'bad_email' if it wasn't valid or 'email_taken' if another user already has that address |