Getting started

Send your first message.

Use a standard SMTP connection or submit through the Aurelia REST API. The same authentication and delivery events apply to both.

  1. 01Create an API key
  2. 02Verify a sending domain
  3. 03Submit a message
  4. 04Listen for delivery events
Node.js
import { AureliaClient } from "@aurelia/mail";

const aurelia = new AureliaClient({
  apiKey: process.env.AURELIA_API_KEY
});

await aurelia.send({
  to: "user@example.com",
  subject: "Welcome aboard",
  html: "<h1>You're in.</h1>"
});
REST API
SMTP relay
Signed webhooks