public static property PHPMailer::$validator
Search API
Which validator to use by default when validating email addresses. May be a callable to inject your own validator, but there are several built-in validators. The default validator uses PHP's FILTER_VALIDATE_EMAIL filter_var option.
Type: string|callable
See also
File
- inc/
PHPMailer/ src/ PHPMailer.php, line 545
Class
- PHPMailer
- PHPMailer - PHP email creation and transport class.
Namespace
PHPMailer\PHPMailerCode
public static $validator = 'php';