Quickstart
Send your first email with SENTD in under 5 minutes.
1
Get your API key
Sign up for a SENTD account and create an API key from your dashboard.
2
Install the SDK
Install the SENTD SDK for your language of choice. We support 9 languages.
Node.js
npm install @sentd/nodePython
pip install sentdGo
go get github.com/sentd-it/sentd-goPHP
composer require sentd/sentd-phpRust
cargo add sentd.NET
dotnet add package SentdRuby
gem 'sentd', git: 'https://github.com/sentd-it/sentd-ruby'Java
// Add via JitPack - see docsElixir
{:sentd, git: "https://github.com/sentd-it/sentd-elixir"}3
Send your first email
Use the SDK or API to send an email. Here's a complete example:
import { SENTD } from '@sentd/node';
const sentd = new SENTD('your_api_key');
const { data } = await sentd.emails.send({
from: 'you@yourdomain.com',
to: 'user@example.com',
subject: 'Hello from SENTD!',
html: '<h1>Welcome!</h1><p>Your first email.</p>'
});
console.log('Email sent:', data.id);4
Verify your domain (recommended)
For better deliverability, verify your sending domain by adding DNS records. This ensures your emails don't end up in spam folders.
Response
When successful, you'll receive a response with the email ID:
{
"success": true,
"data": {
"id": "em_abc123xyz",
"status": "queued"
}
}