Overview
SendLayer allows you to send emails to multiple recipients in a single API call. This guide shows you how to send emails to multiple recipients using the SendLayer API, with examples for popular programming languages.Prerequisites
Sending Emails to Multiple Recipients
You can send emails to multiple recipients by providing an array of email addresses in theto
field. Each recipient will receive the same email content.
Rate Limit: When sending to multiple recipients, be aware of SendLayer’s rate limits. We recommend sending to no more than 100 recipients per request for optimal performance. For larger lists, consider using our bulk sending features or sending in batches.
Replace
<apiKey>
with your actual SendLayer API key in the request header.Using CC and BCC
You can also use CC (Carbon Copy) and BCC (Blind Carbon Copy) to send emails to additional recipients. CC recipients will be visible to all recipients, while BCC recipients will be hidden from other recipients.Including Names and Email Addresses
You can include both names and email addresses for senders and recipients to make your emails more professional and personal. This is especially useful for newsletters, announcements, or any communication where you want to display the sender’s name.See our Send Email guide for basic email sending instructions.
FAQ
What is the maximum number of recipients I can send to?
What is the maximum number of recipients I can send to?
SendLayer has specific limits for multiple recipients regardless of your account type:
- Send To: 10 email addresses
- CC: 10 email addresses
- BCC: 5 email addresses
Can I personalize emails for each recipient?
Can I personalize emails for each recipient?
Yes, you can personalize emails by using merge tags or by sending individual emails in a loop.
What's the difference between CC and BCC?
What's the difference between CC and BCC?
CC (Carbon Copy) recipients are visible to all other recipients in the email. BCC (Blind Carbon Copy) recipients are hidden from other recipients, making them ideal for privacy-sensitive communications.
How do I handle bounced emails for multiple recipients?
How do I handle bounced emails for multiple recipients?
SendLayer provides webhook notifications for bounced emails. You can set up webhooks to receive real-time notifications when emails bounce, allowing you to clean your recipient lists.
Can I track email opens and clicks for multiple recipients?
Can I track email opens and clicks for multiple recipients?
Yes, SendLayer provides tracking capabilities for email opens and clicks. You can enable tracking in your email parameters and receive webhook notifications for engagement events.
What should I do if some recipients don't receive the email?
What should I do if some recipients don't receive the email?
Check your domain authorization, verify your API key, and review the response from the API for any error messages. You can also consult the SendLayer dashboard for delivery status and logs for each recipient.