# plugin: Add CC

## Description <a href="#description" id="description"></a>

If you created custom fields in AcyMailing called "email1", "email2"... to "email5" then this plugin will add these extra e-mail addresses as CC when sending a newsletter to the given user if these fields are correctly filled. You can install and publish this plugin like a standard Joomla plugin.

## Custom fields <a href="#custom-fields" id="custom-fields"></a>

![](https://4212440522-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_D4iy53WFAtKVs3BPA%2F-MJgVSTBHxVB4bhmMQUX%2F-MJg_d95rexhUj62rhZz%2Fccuser.png?alt=media\&token=02697aff-7e31-4c98-a5bd-7db5e1ec3895)

Here is an example of custom field for CC address.

* In the field "Column name", put email1 to email5
* The field "Field type" has to be "Text"
* For the "Authorized content" field, you can choose "All" as the values will be checked by the plugin before using it, or use your own regular expression, for example "^\[a-zA-Z0-9.\_+-]+@\[a-zA-Z0-9.\_-]{2,}\\.\[a-z]{2,4}$"

## Parameters <a href="#parameters" id="parameters"></a>

![](https://4212440522-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_D4iy53WFAtKVs3BPA%2F-MJgVSTBHxVB4bhmMQUX%2F-MJg_epdyq5c3Gx-4E8b%2Fccuser1.png?alt=media\&token=e54ae963-61ee-44b1-8275-e87d9ef217f5)

* **Check Community Builder fields:** If you created some custom fields called "cb\_email1", "cb\_email2"... "cb\_email5" in Community Builder, then you can choose to take them into account as other CC addresses
