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.
- 01Create an API key
- 02Verify a sending domain
- 03Submit a message
- 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