luya\components\Mail::ccAddress PHP Method

ccAddress() public method

Add a single CC address with optional name
public ccAddress ( string $email, string $name = null ) : Mail
$email string The email address e.g. [email protected]
$name string The name for the address e.g. John Doe
return Mail
    public function ccAddress($email, $name = null)
    {
        $this->getMailer()->addCC($email, empty($name) ? $email : $name);
        return $this;
    }