You are here

public static function Messaging_Mail_Address::validate_address in Messaging 7

Validate address format

Parameters

$address: Destination address

$type: Optional address type, for static calls

Overrides Messaging_Destination::validate_address

File

messaging_mail/messaging_mail.inc, line 235
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Mail_Address
Mail addresses

Code

public static function validate_address($address, $type = NULL) {
  return valid_email_address($address);
}