PHPMailer\PHPMailer

SMTP::setSMTPUTF8publicWP 1.0

Enable or disable use of SMTPUTF8.

Method of the class: SMTP{}

No Hooks.

Returns

null. Nothing (null).

Usage

$SMTP = new SMTP();
$SMTP->setSMTPUTF8( $enabled );
$enabled(true|false)
.
Default: false

SMTP::setSMTPUTF8() code WP 6.9.1

public function setSMTPUTF8($enabled = false)
{
    $this->do_smtputf8 = $enabled;
}