PHPMailer\PHPMailer
SMTP::setSMTPUTF8
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() SMTP::setSMTPUTF8 code WP 6.9.1
public function setSMTPUTF8($enabled = false)
{
$this->do_smtputf8 = $enabled;
}