Apps: Adding logic to your app
Sending emails from your app
Send transactional emails such as confirmations and notifications from your app.
Send transactional emails such as confirmations and notifications from your app.
Apps can send email with the SDK's SendEmail integration — booking confirmations, notifications to the owner, simple digests.
"When someone books a class, email them a confirmation with the class name and time."
await ds.integrations.Core.SendEmail({
to: "[email protected]",
subject: "Your booking is confirmed",
body: "<p>See you on Monday at 9:00.</p>",
});
body accepts HTML. from_name sets the sender's display name.
Each app can send up to 500 emails per day.
Email delivery must be enabled on the Draftship server you use. If it isn't, SendEmail fails with a message saying so, and the rest of your app keeps working.