public \Joomla\CMS\Mail\Mail|bool
addBcc
(mixed $bcc, mixed $name = '')
/**
* Add blind carbon copy recipients to the email
*
* @param mixed $bcc Either a string or array of strings [email address(es)]
* @param mixed $name Either a string or array of strings [name(s)]
*
* @return Mail|boolean Returns this object for chaining on success or boolean false on failure when exception throwing is disabled.
*
* @since 1.7.0
*
* @throws phpmailerException if exception throwing is enabled
*/
public function addBcc($bcc, $name = '')
{
// If the blind carbon copy recipient is an array, add each recipient... otherwise just add the one
if (isset($bcc)) {
return $this->add($bcc, $name, 'addBCC');
}
return $this;
}