import Mailgun from "mailgun.js";
const mailgun = new Mailgun(FormData);
const mg = mailgun.client({
username: "api",
key: env.MAILGUN_API_KEY || "API_KEY"
});
try {
const data = await mg.messages.create("zigozi.co", {
from: "Zigozi Support <[email protected]>",
to: [to],
subject: subject,
text: text,
html: html,
});Join the Discord to ask follow-up questions and connect with the community
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,603 Members
Join