diff --git a/test/PHPMailer/PHPMailerTest.php b/test/PHPMailer/PHPMailerTest.php index 663d551e..83af9aef 100644 --- a/test/PHPMailer/PHPMailerTest.php +++ b/test/PHPMailer/PHPMailerTest.php @@ -1197,7 +1197,8 @@ EOT; */ public function testUnsupportedSmtpUTF8() { - $this->Mail->CharSet = PHPMailer::CHARSET_ISO88591; + $this->Mail->CharSet = PHPMailer::CHARSET_UTF8; + PHPMailer::$validator = 'html5'; self::assertFalse($this->Mail->addAddress('spın̈altap@example.com', '')); }