You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
326 B
TypeScript

import nodemailer from "nodemailer";
import { smtpHostname, smtpPassword, smtpUsername } from "../environment";
export const transporter = nodemailer.createTransport({
host: smtpHostname,
port: 587,
secure: false,
requireTLS: true,
auth: {
user: smtpUsername,
pass: smtpPassword,
}
});