CC, BCC & Reply-To
Pass a single email string or an array of strings for cc and bcc. Every address (including the primary email) counts as one quota credit. Use replyTo to direct replies to a different inbox than the sender.
!The combined total of
email + cc + bcc must not exceed 50 recipients per request. Requests exceeding this limit are rejected with 400 Bad Request.CC and BCC count toward one atomic quota check
Once your monthly quota is exhausted, the full recipient count (1 + cc + bcc) is checked against your PAYG balance in a single atomic operation. If your credits can't cover every recipient, the entire request is rejected with402 — it will never send to some recipients and skip others. See Quota & Billing for details, including how this differs from Bulk Send.Do not use BCC for bulk sending
Packing multiple recipients into bcc is not a supported bulk-send pattern and will harm deliverability:
- •Every BCC recipient sees the email addressed to someone else; spam filters flag this heavily.
- •A bounce on the primary To address can affect delivery for all BCC recipients.
- •No per-recipient personalisation is possible.
For bulk sends, use the Bulk Send API — queue up to 50,000 recipients in one request and let the worker handle delivery automatically.
curl -X POST https://api.altermail-console.com.ng/v1/user/email/send \
-H "Content-Type: application/json" \
-H "token: YOUR_API_KEY" \
-d '{
"email": "primary@example.com",
"fromEmail": "hello@yourdomain.com",
"subject": "Team update",
"mailBodyHtml": "<p>Hi team, here is your weekly update.</p>",
"cc": ["alice@example.com", "bob@example.com"],
"bcc": "manager@example.com",
"replyTo": "support@yourdomain.com"
}'await fetch("https://api.altermail-console.com.ng/v1/user/email/send", {
method: "POST",
headers: { "Content-Type": "application/json", "token": "YOUR_API_KEY" },
body: JSON.stringify({
email: "primary@example.com",
fromEmail: "hello@yourdomain.com",
subject: "Team update",
mailBodyHtml: "<p>Hi team, here is your weekly update.</p>",
cc: ["alice@example.com", "bob@example.com"],
bcc: "manager@example.com",
replyTo: "support@yourdomain.com",
}),
});requests.post("https://api.altermail-console.com.ng/v1/user/email/send",
headers={"Content-Type": "application/json", "token": "YOUR_API_KEY"},
json={
"email": "primary@example.com",
"fromEmail": "hello@yourdomain.com",
"subject": "Team update",
"mailBodyHtml": "<p>Hi team, here is your weekly update.</p>",
"cc": ["alice@example.com", "bob@example.com"],
"bcc": "manager@example.com",
"replyTo": "support@yourdomain.com",
},
)curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
"email" => "primary@example.com",
"fromEmail" => "hello@yourdomain.com",
"subject" => "Team update",
"mailBodyHtml" => "<p>Hi team, here is your weekly update.</p>",
"cc" => ["alice@example.com", "bob@example.com"],
"bcc" => "manager@example.com",
"replyTo" => "support@yourdomain.com",
]));json.Marshal(map[string]any{
"email": "primary@example.com",
"fromEmail": "hello@yourdomain.com",
"subject": "Team update",
"mailBodyHtml": "<p>Hi team, here is your weekly update.</p>",
"cc": []string{"alice@example.com", "bob@example.com"},
"bcc": "manager@example.com",
"replyTo": "support@yourdomain.com",
})var payload = new {
email = "primary@example.com",
fromEmail = "hello@yourdomain.com",
subject = "Team update",
mailBodyHtml = "<p>Hi team, here is your weekly update.</p>",
cc = new[] { "alice@example.com", "bob@example.com" },
bcc = "manager@example.com",
replyTo = "support@yourdomain.com",
};
var response = await client.PostAsJsonAsync("https://api.altermail-console.com.ng/v1/user/email/send", payload);var body = """
{
"email": "primary@example.com",
"fromEmail": "hello@yourdomain.com",
"subject": "Team update",
"mailBodyHtml": "<p>Hi team, here is your weekly update.</p>",
"cc": ["alice@example.com", "bob@example.com"],
"bcc": "manager@example.com",
"replyTo": "support@yourdomain.com"
}
""";const std::string payload = R"({
"email": "primary@example.com",
"fromEmail": "hello@yourdomain.com",
"subject": "Team update",
"mailBodyHtml": "<p>Hi team, here is your weekly update.</p>",
"cc": ["alice@example.com", "bob@example.com"],
"bcc": "manager@example.com",
"replyTo": "support@yourdomain.com"
})";