Python SDK
Modern Python client with async/await, Pydantic models, and full type hints.
Python SDK
Modern Python client with async/await, Pydantic models, and full type hints.
Node.js SDK
TypeScript SDK with full type support, async/await, and comprehensive error handling.
PHP SDK
Object-oriented PHP SDK with Guzzle HTTP client and rich data models.
Go SDK
Idiomatic Go SDK with comprehensive coverage for domains, credentials, messages, and more.
# Pythonpip install kirimemail-smtp-sdk
# Node.jsnpm install @kirimemail/smtp-sdk
# PHPcomposer require kirimemail/smtp-sdk
# Gogo get github.com/kirimemail/kirimemail-smtp-go-sdkimport asynciofrom kirimemail_smtp import SmtpClient, MessagesApi
async def send_email(): client = SmtpClient(username="your-username", token="your-token") messages_api = MessagesApi(client)
result = await messages_api.send_message( domain="example.com", message={ "from_name": "Company Name", "subject": "Hello from Python SDK", "text": "This is a test email sent using the Kirim.Email Python SDK." } )
print(f"Email sent: {result}")
asyncio.run(send_email())const { SmtpClient, MessagesApi } = require('@kirimemail/smtp-sdk');
async function sendEmail() { const client = new SmtpClient('your-username', 'your-token'); const messagesApi = new MessagesApi(client);
const result = await messagesApi.sendMessage('example.com', { subject: 'Hello from Node.js SDK', text: 'This is a test email sent using the KirimEmail Node.js SDK' });
console.log('Email sent:', result);}
sendEmail();<?phprequire_once 'vendor/autoload.php';
use KirimEmail\Smtp\Client\SmtpClient;use KirimEmail\Smtp\Api\MessagesApi;
$client = new SmtpClient('your_username', 'your_token');$messagesApi = new MessagesApi($client);
$result = $messagesApi->sendMessage('example.com', [ 'subject' => 'Hello from PHP SDK', 'text' => 'This is a test email sent using the PHP SDK.']);
if ($result['success']) { echo "Email sent successfully!\n";}?>package main
import ( "fmt" "log"
smtpsdk "github.com/kirimemail/kirimemail-smtp-go-sdk")
func main() { client := smtpsdk.NewClient("your-username", "your-api-token")
response, err := client.Messages().Send("example.com", smtpsdk.MessageSendRequest{ FromName: "Company Name", Subject: "Hello from Go SDK", Text: "This is a test email sent using the Kirim.Email Go SDK.", }, nil)
if err != nil { log.Fatal(err) }
fmt.Printf("Email sent: %v\n", response.Success)}| Feature | Python | Node.js | PHP | Go |
|---|---|---|---|---|
| Domain Management | ✓ | ✓ | ✓ | ✓ |
| Credential Management | ✓ | ✓ | ✓ | ✓ |
| Send Emails | ✓ | ✓ | ✓ | ✓ |
| Attachments | ✓ | ✓ | ✓ | ✓ |
| Templates | ✓ | ✓ | ✓ | ✓ |
| Email Validation | ✓ | ✓ | ✓ | ✓ |
| Logs | ✓ | ✓ | ✓ | ✓ |
| Suppressions | ✓ | ✓ | ✓ | ✓ |
| Webhooks | ✓ | ✓ | ✓ | ✓ |
| User Quota | ✓ | ✓ | ✓ | ✓ |