public function addCc($emails) {
    $email_array = $this->validEmailsArray($emails, "'cc' recipient");
    foreach($email_array as $email) {
      $this->message->addCc($email);
    }
  }
public function addCc($emails) {
    $email_array = $this->validEmailsArray($emails, "'cc' recipient");
    foreach($email_array as $email) {
      $this->message->addCc($email);
    }
  }
public function addCc ( $ emails ) { $ email_array = $ this -> validEmailsArray ( $ emails , "'cc' recipient" ) ; foreach ( $ email_array as $ email ) { $ this -> message -> addCc ( $ email ) ; } }
Adds a "cc" address, or array of addresses, to the mail object.

@param mixed $emails String email of individual recipient, or array of
emails of recipients.
@throws \InvalidArgumentException If any of the input emails are not
correctly formatted email addresses.
Adds a cc address or array of addresses to the mail object .