PHPMailer::ValidateAddress

Check that a string looks roughly like an email address should Static so it can be used without instantiation, public so people can overload Conforms to RFC5322: Uses *correct* regex on which FILTER_VALIDATE_EMAIL is based; So why not use FILTER_VALIDATE_EMAIL? Because it was broken to not allow a@b type valid addresses :(

Signature

public function ValidateAddress(string $address )

Parameters

$address
The email address to check

Returns

boolean