coyotte508's picture
coyotte508 HF staff
✨ Contact page
9b30f5f
raw
history blame
279 Bytes
import { MAILGUN_API_KEY } from '$env/static/private';
import Mailgun from 'mailgun.js';
import formData from 'form-data';
const mailgun = new Mailgun(formData);
export const mg = mailgun.client({
username: 'api',
key: MAILGUN_API_KEY,
url: 'https://api.eu.mailgun.net'
});