Sendly Quickstart Guide
Sendly makes it remarkably easy for businesses and developers to send transactional emails from their own verified domains with high inbox placement.
Quick Example
// Send transactional email with Sendly
import { Sendly } from 'sendly';
const sendly = new Sendly(process.env.SENDLY_API_KEY);
await sendly.emails.send({
from: 'Acme Notifications <notifications@acme.com>',
to: 'customer@example.com',
subject: 'Order Confirmation #84920',
template: 'order-confirmation',
variables: {
first_name: 'Alex',
order_id: '84920'
}
});