Add an email address to be used in the "cc" field.

@param cc
the email addresses to add

@return This {@code EmailIntentBuilder} for method chaining
770357
@NonNull
    public EmailIntentBuilder cc(@NonNull Collection<String> cc) {
        checkNotNull(cc);
        for (String email : cc) {
            checkEmail(email);
        }
        this.cc.addAll(cc);

        return this;
    }
1184504
@Nonnull
    public PMessageBuilder<T, F> addTo(@Nonnull F field, Object value) {
        return addTo(field.getId(), value);
    }
947245
public void addCc(String address, String personal) throws AddressException {
		if(cc == null) {
			cc = new ArrayList<>();
		}
		cc.add( toInternetAddress(address, personal) );
	}
848580
public ClientContact instantiateForInsert() {
		ClientContact entity = new ClientContact();
		entity.setCategory(new Category(512973));
		entity.setClientCorporation(new ClientCorporation(1));
		entity.setEmail("unknown");
		entity.setNumEmployees(1);
		entity.setIsDeleted(Boolean.FALSE);
		entity.setPreferredContact("Email");
		entity.setStatus("Client");
		entity.setUsername(new DateTime().toString());
		entity.setPassword("secret");
		entity.setType("Unknown");
		return entity;
	}
1025166
public function addAddress($email, $name = '')
    {
        if (empty($email)) {
            throw new MailerException('email is required for addAddress!');
        }

        $this->_mailer->addAddress($email, $name);

        return $this;
    }
973405
@NonNull
    public EmailIntentBuilder bcc(@NonNull String bcc) {
        checkEmail(bcc);
        this.bcc.add(bcc);
        return this;
    }
540564
public function bcc($email, $name = '')
    {
        if (empty($email)) {
            throw new MailerException('email is required for bcc!');
        }

        $this->_mailer->addBCC($email, $name);

        return $this;
    }
1068512
public function addCc($address, $name = null)
    {
        $address = $this->_addRecipient('Cc', $address, $name);
        $this->_recipients[$address->email()] = $address;
        return $this;
    }
42866
public function addBcc($email, $name = null)
    {
        $this->bcc = array_merge($this->bcc, $this->transformEmailName($email, $name));

        return $this;
    }
196353
public function cc($email, $name = '')
    {
        if (empty($email)) {
            throw new MailerException('email is required for cc!');
        }

        $this->_mailer->addCC($email, $name);

        return $this;
    }
1081825
public Email recipient(EmailAddress recipient, RecipientType type) {
		recipient(new Recipient(recipient, type));
		return this;
	}
974899
public function addBcc($address, $name = null)
    {
        $class = $this->_classes['address'];
        $bcc = new $class($address, $name);
        $this->_recipients[$bcc->email()] = $bcc;
        return $this;
    }
163389
public static Delivery.Builder newMail(@NotNull Context ctx){
        // Create a new builder
        Delivery.Builder builder = new Delivery.Builder(ctx);

        // Apply defaults if possible
        applyDefaults(builder);

        // Return it
        return builder;
    }
1080063
public function addCc(string $address, ?string $name = null): Message
    {
        $this->cc[] = [
            'address' => $address,
            'name'    => $name
        ];

        return $this;
    }
957200
public function addBcc($email)
    {
        if (!is_array($email)) {
            $email = array($email);
        }

        foreach ($email as $recipient) {
            $this->_addRecipientAndHeader('Bcc', $recipient, '');
        }

        return $this;
    }
1249373
public function addCc($email, $name='')
    {
        if (!is_array($email)) {
            $email = array($name => $email);
        }

        foreach ($email as $n => $recipient) {
            $this->_addRecipientAndHeader('Cc', $recipient, is_int($n) ? '' : $n);
        }

        return $this;
    }
894277
public EmbedBuilder addField(MessageEmbed.Field field)
    {
        return field == null ? this : addField(field.getName(), field.getValue(), field.isInline());
    }