Prerequisites
To get the most out of this guide, you’ll need to:- Create a SendPost Account
- Install Node.js (v14 or higher)
- A Sub-Account API Key from your SendPost dashboard
You can find your API keys in your SendPost
Dashboard. Make sure to use your Sub-Account API Key
for sending emails.
1. Install
Install the SendPost JavaScript SDK using npm:npm
2. Getting Started
Here’s a simple example to send your first email:JavaScript
3. Next Steps
Explore more examples and use cases:JavaScript SDK
View the official SDK package on npm
SDK Examples
Comprehensive email sending examples including CC, BCC, and attachments
ESP Workflow Example
Full-featured example app with comprehensive ESP workflow