system/libraries/Email.php
/**
		* Validate Email Address
		*
		* @param	string
		* @return	bool
		*/
Validate Email Address
@param        string
@return       bool
Validate Email Address @param string @return bool
public function validate_email($email)
		{
			if ( ! is_array($email))
			{
				$this->_set_error_message('lang:email_must_be_array');
				return FALSE;
			}
			foreach ($email as $val)
			{
				if ( ! $this->valid_email($val))
				{
					$this->_set_error_message('lang:email_invalid_address', $val);
					return FALSE;
				}
			}
			return TRUE;
		}
public function validate_email ( $ email ) { if ( ! is_array ( $ email ) ) { $ this -> _set_error_message ( 'lang:email_must_be_array' ) ; return FALSE ; } foreach ( $ email as $ val ) { if ( ! $ this -> valid_email ( $ val ) ) { $ this -> _set_error_message ( 'lang:email_invalid_address' , $ val ) ; return FALSE ; } } return TRUE ; }
Validate Email Address
 @param        string
 @return       bool
Validate Email Address @param string @return bool