{"id":3433,"date":"2026-04-10T19:55:20","date_gmt":"2026-04-10T14:25:20","guid":{"rendered":"https:\/\/www.msgclub.net\/learn\/?p=3433"},"modified":"2026-04-10T19:55:20","modified_gmt":"2026-04-10T14:25:20","slug":"email-without-cc-bcc-basic-email","status":"publish","type":"post","link":"https:\/\/www.msgclub.net\/learn\/email-without-cc-bcc-basic-email.html","title":{"rendered":"Email Without CC &amp; BCC (Basic Email)"},"content":{"rendered":"\n<p>This API is used for sending a <strong>simple email only to primary recipients (To)<\/strong>. It can be used with or without attachments, depending on your requirements.<\/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_without\" data-type=\"internal\" data-id=\"#sbsg_email_without\">Step by Step Guide<\/a><\/li>\n\n\n\n<li><a href=\"#faqs_email_without\">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  \"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_without\"><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.<\/p>\n\n\n\n<p><strong>Step 3: Enter Sender Details<\/strong><strong><br><\/strong>Provide sender email and name.<\/p>\n\n\n\n<p><strong>Step 4: Add Recipient<\/strong><strong><br><\/strong>Add only toEmailSet (no CC\/BCC required).<\/p>\n\n\n\n<p><strong>Step 5: Add Email Content<\/strong><strong><br><\/strong>Include subject and message.<\/p>\n\n\n\n<p><strong>Step 6 (Optional): Add Attachment<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set attachmentType to 1<\/li>\n\n\n\n<li>Add Base64 file data in attachments<\/li>\n<\/ul>\n\n\n\n<p><strong>Step 7: Send Request<\/strong><strong><br><\/strong>Execute the API 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_without\"><strong>FAQs<\/strong><\/h2>\n\n\n\n<p><strong>1. When should I use this API?<\/strong><strong><br><\/strong> Use this for <strong>simple, direct emails<\/strong> sent only to primary recipients (To).<\/p>\n\n\n\n<p><strong>2. Can I send attachments using this API?<\/strong><strong><br><\/strong> Yes, attachments are optional. You can include them if needed.<\/p>\n\n\n\n<p><strong>3. Why are CC and BCC not included?<\/strong><strong><br><\/strong> This API is designed for <strong>one-to-one or simple communication<\/strong>, where additional recipients are not required.<\/p>\n\n\n\n<p><strong>4. Is this suitable for OTP or verification emails?<\/strong><strong><br><\/strong> Yes, this is ideal for OTPs, alerts, and transactional messages.<\/p>\n\n\n\n<p><strong>5. Can I send to multiple recipients in To?<\/strong><strong><br><\/strong> Yes, you can include multiple entries in toEmailSet.<\/p>\n\n\n\n<p><strong>6. What content types are supported?<\/strong><strong><br><\/strong> Both html and text are supported.<\/p>\n\n\n\n<p><strong>7. What is the simplest use case for this API?<\/strong><strong><br><\/strong> Sending a quick notification or confirmation email to a single user.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This API is used for sending a simple email only to primary recipients (To). It can be used with or without attachments, depending on your requirements. 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 require the payload in minified&hellip; <a class=\"more-link\" href=\"https:\/\/www.msgclub.net\/learn\/email-without-cc-bcc-basic-email.html\">Continue reading <span class=\"screen-reader-text\">Email Without CC &amp; BCC (Basic Email)<\/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":[1020,695,1022,170,1024,1021,1023,1008,1019,1011],"class_list":["post-3433","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-basic-email","tag-email-api","tag-email-notification","tag-email-service","tag-minimal-api","tag-one-to-one-email","tag-otp-email","tag-post-api","tag-simple-email","tag-transactional-email","entry"],"_links":{"self":[{"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/posts\/3433","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=3433"}],"version-history":[{"count":1,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/posts\/3433\/revisions"}],"predecessor-version":[{"id":3434,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/posts\/3433\/revisions\/3434"}],"wp:attachment":[{"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/media?parent=3433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/categories?post=3433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msgclub.net\/learn\/wp-json\/wp\/v2\/tags?post=3433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}