Previous Page
locale()

Solar_Filter_ValidateEmail
validateEmail()

Next Class
Solar_Filter_ValidateFloat

validateEmail()

public bool validateEmail ( mixed $value )

Validates that the value is an email address.

Parameters

  • (mixed) $value: The value to validate.

Returns

  • (bool) True if valid, false if not.

Description

Validates that the value is an email address.

Taken directly from http://www.iamcal.com/publish/articles/php/parsing_email/.