Email Introduction

Netcore CPaaS is a cloud-based email delivery service that delivers highly personalized transactional emails to the inbox within seconds of your customer’s transaction. Netcore CPaaS dashboard helps you focus on your business without the cost and complexity of owning and maintaining an email infrastructure. It manages all the technicalities like scaling the infrastructure, ISP outreach, reputation monitoring, whitelist services and real-time analytics. Netcore CPaaS dashboard offers world class deliverability expertise to ensure that your emails get delivered on time and into the inbox.

📘

Note

  • Most of the Email APIs follow a RESTful architecture.
  • All API calls must be made using HTTP POST.

Netcore CPaaS dashboard provides two ways to send an email:

  1. through our SMTP relay.
  2. through our Web API.

This document will share the details of the APIs which will help you to send emails and manage your CPaaS account.

Sending Data to the API

Request data should be sent to the API by POSTing JSON objects to the appropriate endpoints. Each API's documentation will detail the specific parameters it accepts.

Although you can also send data using HTTP POST form parameters (similar to submitting an HTML form), we strongly recommend using JSON for better structure, clarity, and compatibility with most modern applications.

HTTP Response Codes

Netcore Email APIs follow standard HTTP status codes. Refer to the given table to know more.

Status CodeMeaningDescription
200 OKSuccessRequest was successful. Common for GET requests.
201 CreatedResource CreatedA new resource was created. Example: Creating a template.
202 AcceptedRequest QueuedRequest accepted but processing is not complete. Example: Sending email during daily limit cap.
400 Bad RequestInvalid RequestMalformed syntax or invalid parameters.
401 UnauthorizedAuthentication ErrorMissing or incorrect API Key in the Authorization header.
405 Method Not AllowedInvalid HTTP MethodThe HTTP method used (GET, POST, etc.) is not allowed for this endpoint.
500 Internal Server ErrorServer ErrorNetcore Email API failed to process the request. Retry after some time.

Choosing Between SMTP and API

Whether to use SMTP or API for sending emails depends on your use case, technical capabilities, and the platform you’re integrating with.

SMTPAPI
Easy to integrate with any systemOffers more flexibility and control
No development effort requiredHigher security and authentication options
Ideal for standard use cases or legacy systemsBetter performance at scale
Cloud-based SMTP can be reliableFaster response times and lower chances of failure
Simple setup and widely supportedMore customization and real-time tracking capabilities

Which One Should You Choose?

  • Use SMTP if you’re looking for a quick, plug-and-play setup with minimal development.
  • Use API if you want more control, better performance, and the ability to deeply customize your email sending workflows.

While both are effective, APIs generally offer faster processing, enhanced tracking, and a lower risk of failure—especially when dealing with high volumes or complex use cases.