How to add CC and BCC recipients in email

You can add CC and BCC details in your email in 2 ways.

  1. Using API
  2. Using Email editor

How to add CC and BCC recipients using API?

Sample code with CC and BCC details in Notification Event API. You can add any no of emails to CC and BCC.

Add CC and BCC
1curl -X POST 'https://api.fyno.io/v1/<WorkspaceID>/test/event' \
2-H 'Authorization: Bearer <API_KEY>' \
3-H 'Content-Type: application/json' \
4-d '{
5 "event": "ReleaseNote",
6 "to": {
7 "email": "xyz@gmail.com"
8 },
9 "data": {
10 "name": "Rahul",
11 "key": "value"
12 },
13 "channel": {
14 "email": {
15 "append": {
16 "cc": [
17 {
18 "name": "name1",
19 "email": "abc@gmail.com"
20 }
21 ],
22 "bcc": [
23 {
24 "name": "name2",
25 "email": "def@gmail.com"
26 }
27 ]
28 }
29 }
30 }
31}'

How to add CC and BCC recipients using Email editor?

This is available only in Stripo Editor

To add CC/BCC details using Email editor, follow the below steps

1Click ‘Enter From and CC/BCC detals’ above the Subject line.
2To add CC/BCC details, click the CC/BCC tab and enter the details.
3You can also use Placeholders if you want to dynamically add cc/bcc details
4Once you entered CC and BCC details, it will look like shown below
CC and BCC details provided in Email template will override the CC and BCC details provided in the Notification Event API

CC and BCC details in logs

In the sent logs, you’ll find the recipient details (destination, CC, and BCC) in the Summary tab.

For the above scenario, the sent logs will display the following information.