{"id":3431,"date":"2026-04-10T19:51:00","date_gmt":"2026-04-10T14:21:00","guid":{"rendered":"https:\/\/www.msgclub.net\/learn\/?p=3431"},"modified":"2026-04-10T19:51:00","modified_gmt":"2026-04-10T14:21:00","slug":"email-with-cc-bcc-without-attachment","status":"publish","type":"post","link":"https:\/\/www.msgclub.net\/learn\/email-with-cc-bcc-without-attachment.html","title":{"rendered":"Email with CC &amp; BCC (Without Attachment)"},"content":{"rendered":"\n<p>This API is used when you want to send emails to <strong>multiple recipients, including CC and BCC<\/strong>, but <strong>without attaching any files<\/strong>. It is ideal for alerts, updates, or general communication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Learn-More\"><strong>Learn More<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#sbsg_email_with_cc\" data-type=\"internal\" data-id=\"#sbsg_email_with_cc\">Step by Step Guide<\/a><\/li>\n\n\n\n<li><a href=\"#faqs_email_with_cc\" data-type=\"internal\" data-id=\"#faqs_email_with_cc\">FAQs<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>API Endpoint<\/strong><\/h2>\n\n\n\n<p>http:\/\/<a href=\"http:\/\/msg.msgclub.net\">msg.msgclub.net<\/a>\/rest\/services\/sendEmail\/email?AUTH_KEY=your_auth_key<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Headers<\/strong><\/h2>\n\n\n\n<p>Content-Type: application\/json<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Request Body (Sample)<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"routeId\": 15,\n  \"fromEmail\": \"abc@mail.com\",\n  \"fromName\": \"Sender Name\",\n  \"toEmailSet\": &#91;\n    {\n      \"email\": \"toEmail1@xyz.com\",\n      \"personName\": \"User One\"\n    }\n  ],\n  \"ccEmailSet\": &#91;\n    {\n      \"email\": \"ccEmail1@xyz.com\",\n      \"personName\": \"CC User\"\n    }\n  ],\n  \"bccEmailSet\": &#91;\n    {\n      \"email\": \"bccEmail1@xyz.com\",\n      \"personName\": \"BCC User\"\n    }\n  ],\n  \"contentType\": \"html\",\n  \"subject\": \"Test Email\",\n  \"mailContent\": \"This is a test email.\"\n}<\/code><\/pre>\n\n\n\n<p><strong>Note: <\/strong>The payload is currently beautified for better readability. For API purposes, we require the payload in minified format.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sbsg_email_with_cc\"><strong>Step-by-Step Guide<\/strong><\/h2>\n\n\n\n<p><strong>Step 1: Add API URL<\/strong><strong><br><\/strong>Enter the API endpoint with your AUTH_KEY.<\/p>\n\n\n\n<p><strong>Step 2: Set Headers<\/strong><strong><br><\/strong>Use application\/json as the content type.<\/p>\n\n\n\n<p><strong>Step 3: Enter Sender Details<\/strong><strong><br><\/strong>Add the sender\u2019s email ID and name.<\/p>\n\n\n\n<p><strong>Step 4: Add Recipients<\/strong><strong><br><\/strong>Include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>toEmailSet for main recipients<\/li>\n\n\n\n<li>ccEmailSet for CC<\/li>\n\n\n\n<li>bccEmailSet for BCC<\/li>\n<\/ul>\n\n\n\n<p><strong>Step 5: Add Email Content<\/strong><strong><br><\/strong>Fill in subject and message content.<\/p>\n\n\n\n<p><strong>Step 6: Skip Attachment Section<\/strong><strong><br><\/strong>Do not include attachment-related fields.<\/p>\n\n\n\n<p><strong>Step 7: Send Request<\/strong><strong><br><\/strong>Execute the POST request.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Parameter Name with Description<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Parameter Name<\/td><td>Data Type<\/td><td>Description<\/td><\/tr><tr><td>AUTH_KEY *<\/td><td>Alphanumeric<\/td><td>Login Authentication Key(This key is unique for every user)<\/td><\/tr><tr><td>routeId *<\/td><td>Integer<\/td><td>Which route you want use for sending sms enter routeId for particular route.use given Id for route. 15- Transactional Email16- Promotional Email<\/td><\/tr><tr><td>contentType *<\/td><td>Text<\/td><td>Content type of email html for html content and text for text content.<\/td><\/tr><tr><td>mailContent *<\/td><td>Text<\/td><td>Email content that user want to sent in email.<\/td><\/tr><tr><td>subject *<\/td><td>Text<\/td><td>Email subject that user want to sent in email.<\/td><\/tr><tr><td>fromName *<\/td><td>Text<\/td><td>Name of sender.<\/td><\/tr><tr><td>fromEmail *<\/td><td>Text<\/td><td>Email id of sender like Sender Id<\/td><\/tr><tr><td>attachmentType *<\/td><td>Text<\/td><td>Current this parameter email have attachment. 0 have no attachment 1 have attechment.<\/td><\/tr><tr><td>toEmailSet *<\/td><td>Text<\/td><td>List of recipient of (To email). email: Email of recipient.personName: Name of recipient.<\/td><\/tr><tr><td>ccEmailSet *<\/td><td>Text<\/td><td>List of cc recipient of (CCemail).email:Email of CC recipient.personName:Name of CC recipient.<\/td><\/tr><tr><td>bccEmailSet *<\/td><td>Text<\/td><td>List of bcc recipient of (BCCemail).email:Email of BCC recipient.personName:Name of BCC recipient.<\/td><\/tr><tr><td>attachments<\/td><td>Text<\/td><td>List of attachments.fileType:Type of file.fileName:Name of File.fileData:File data converted in Base64 format.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faqs_email_with_cc\"><strong>FAQs<\/strong><\/h2>\n\n\n\n<p><strong>1. When should I use this API?<\/strong><strong><br><\/strong> Use this when you want to send emails to <strong>multiple recipients (To, CC, BCC)<\/strong> without attaching any files.<\/p>\n\n\n\n<p><strong>2. Can I add attachments later?<\/strong><strong><br><\/strong> No, this specific structure is meant for emails without attachments. Use the attachment API format if needed.<\/p>\n\n\n\n<p><strong>3. Are CC and BCC mandatory?<\/strong><strong><br><\/strong> No, both are optional. You can include them based on your requirement.<\/p>\n\n\n\n<p><strong>4. What is the benefit of not using attachments?<\/strong><strong><br><\/strong> It improves performance and reduces processing time, especially for bulk emails.<\/p>\n\n\n\n<p><strong>5. Can I send bulk emails using this API?<\/strong><strong><br><\/strong> Yes, you can add multiple recipients in toEmailSet, ccEmailSet, and bccEmailSet.<\/p>\n\n\n\n<p><strong>6. What happens if I include attachment fields accidentally?<\/strong><strong><br><\/strong> It may cause validation errors or unexpected behavior. It is best to avoid attachment-related parameters.<\/p>\n\n\n\n<p><strong>7. Is HTML content supported?<\/strong><strong><br><\/strong> Yes, you can use both html and text formats.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This API is used when you want to send emails to multiple recipients, including CC and BCC, but without attaching any files. It is ideal for alerts, updates, or general communication. Learn More API Endpoint http:\/\/msg.msgclub.net\/rest\/services\/sendEmail\/email?AUTH_KEY=your_auth_key Headers Content-Type: application\/json Request Body (Sample) Note: The payload is currently beautified for better readability. For API purposes, we&hellip; <a class=\"more-link\" href=\"https:\/\/www.msgclub.net\/learn\/email-with-cc-bcc-without-attachment.html\">Continue reading <span class=\"screen-reader-text\">Email with CC &amp; BCC (Without Attachment)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1014,172,1017,695,694,1018,1016,1015,1008,1011],"class_list":["post-3431","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bcc-email","tag-bulk-email","tag-cc-email","tag-email-api","tag-email-integration","tag-lightweight-api","tag-no-attachment-email","tag-notification-email","tag-post-api","tag-transactional-email","entry"],"_links":{"self":[{"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/posts\/3431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/comments?post=3431"}],"version-history":[{"count":1,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/posts\/3431\/revisions"}],"predecessor-version":[{"id":3432,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/posts\/3431\/revisions\/3432"}],"wp:attachment":[{"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/media?parent=3431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/categories?post=3431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/tags?post=3431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}