Add CC and BCC Recipients
Learn how to configure CC and BCC recipients in emails using the Notification Event API or the email editor in Fyno.
You can add CC and BCC details in your email in 2 ways.
- Using API
- 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.
curl -X POST 'https://api.fyno.io/v1/<WorkspaceID>/test/event' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"event": "ReleaseNote",
"to": {
"email": "xyz@gmail.com"
},
"data": {
"name": "Rahul",
"key": "value"
},
"channel": {
"email": {
"append": {
"cc": [
{
"name": "name1",
"email": "abc@gmail.com"
}
],
"bcc": [
{
"name": "name2",
"email": "def@gmail.com"
}
]
}
}
}
}'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
1
Click 'Enter From and CC/BCC detals' above the Subject line.
2
To add CC/BCC details, click the CC/BCC tab and enter the details.
3
You can also use Placeholders if you want to dynamically add cc/bcc details
4
Once 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.