Files
GibSend/packages/sdk/README.md
KM Koushik ad57992e21 Update SDK documentation (#20)
* Update SDK documentation

* fix doc
2024-05-26 15:00:07 +10:00

666 B

Unsend SDK

Prerequisites

Installation

NPM

npm install unsend

Yarn

yarn add unsend

PNPM

pnpm add unsend

Bun

bun add unsend

Usage

import { Unsend } from "unsend";

const unsend = new Unsend({ apiKey: "us_12345" });

unsend.emails.send({
  to: "hello@acme.com",
  from: "hello@company.com",
  subject: "Unsend email",
  html: "<p>Unsend is the best open source product to send emails</p>",
  text: "Unsend is the best open source product to send emails",
});