return false;
} if ($name !== null &&
is_string($name)) { $name =
trim(preg_replace('/[\r\n]+/', '',
$name)); //Strip breaks and trim
} else { $name = '';
} $params =
[$kind,
$address,
$name];
//Enqueue addresses with IDN until we know the PHPMailer::$CharSet.
//Domain is assumed to be whatever is after the last @ symbol in the address
if (static::
idnSupported() &&
$this->
has8bitChars(substr($address, ++
$pos))) { if ('Reply-To' !==
$kind) { if (!
array_key_exists($address,
$this->RecipientsQueue
)) { $this->RecipientsQueue
[$address] =
$params;
return true;
} } elseif (!
array_key_exists($address,
$this->ReplyToQueue
)) { $this->ReplyToQueue
[$address] =
$params;
return true;
}