How to do SMTP Integration?

SMTP is the fastest way to get started with sending emails. Integrating Netcore Email API with your application is quite easy as it only requires minor modifications in the SMTP configuration.
You need to:

  • Change the SMTP username and the password with your Netcore Email API credentials. You can find the credentials in the user interface at Settings -> Integrations.
  • Set the server hostname to smtp.netcorecloud.net.
  • You can connect via unencrypted TLS on ports 25, 2525, and 587.
    In SMTP, one mail is sent at a time. All you have to do is connect your mailing server, or servers (if you have multiple) to Netcore Email API’s server.

Allowed IPs

A new security feature is now available: Allowed IPs for SMTP requests. You can define a list of trusted IP addresses, only requests from these IPs will be accepted; all others will be rejected. Once enabled, the SEND TEST feature will be disabled.

Navigate to Settings on the CpaaS dashboard and click Integrations > Allowed IPs. Add your desired IPs separated by comma and click SAVE.

📘

Important Point to Remember

  • It may take up to 30 minutes for the IP list to sync.

Advance Tracking of SMTP emails

Our SMTP allows you to deliver custom handling instructions for email. You can pass any unique value associated with a particular transaction like Invoice ID, Transaction ID; in an email header parameter known as X-APIHEADER.
The value of the X-APIHEADER can be in any format; we store it as plain text and return the same in Webhooks. Also, these values are linked with each SMTP transactions and are available under Live feed in your Netcore Email API account.

Example:
X-APIHEADER: 282747328;