Explain why
This commit is contained in:
parent
2818f3e6a3
commit
6467d54259
|
|
@ -1176,6 +1176,8 @@ class PHPMailer
|
||||||
self::$validator === 'php' &&
|
self::$validator === 'php' &&
|
||||||
$this->addressHasUnicodeLocalPart($address)
|
$this->addressHasUnicodeLocalPart($address)
|
||||||
) {
|
) {
|
||||||
|
//The caller has not altered the validator, so assume that they want UTF-8 support
|
||||||
|
//instead of failing
|
||||||
$this->CharSet = self::CHARSET_UTF8;
|
$this->CharSet = self::CHARSET_UTF8;
|
||||||
self::$validator = 'eai';
|
self::$validator = 'eai';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue