Saltearse al contenido

SDKs

Esta página aún no está disponible en tu idioma.

Official SDKs for integrating ToSend into your applications.

Available SDKs

LanguagePackageInstall
Node.jstosendnpm install tosend
Pythontosendpip install tosend
Gogithub.com/tosend/tosend-gogo get github.com/tosend/tosend-go
Laraveltosend/tosend-laravelcomposer require tosend/tosend-laravel
PHPtosend/tosend-phpcomposer require tosend/tosend-php

Quick Start

Choose your language to get started:

import { ToSend } from 'tosend';
const tosend = new ToSend('tsend_your_api_key');
await tosend.send({
from: { email: 'hello@yourdomain.com', name: 'Your App' },
to: [{ email: 'user@example.com' }],
subject: 'Welcome!',
html: '<h1>Hello!</h1>',
});

Common Features

All SDKs support:

  • Send Email - Send transactional emails with HTML and plain text
  • Batch Sending - Send multiple emails in a single request
  • Attachments - Include file attachments with your emails
  • CC/BCC - Carbon copy and blind carbon copy recipients
  • Reply-To - Custom reply-to addresses
  • Account Info - Retrieve account details and domain status
  • Error Handling - Detailed error responses with validation messages

Source Code

All SDKs are open source and available on GitHub: