import { useEmail } from "supersaas/composables";
const handleSubmit = async () => {
await useEmail("resend").send({
to: "[email protected]",
subject: "Example email",
html: "<p>Hello World</p>",
});
};
More providers getting added soon, in fact I am making a open source library for this - you can find it here, you can find exampels for Sendgrid, Postmark and more.