Updated the SMTP port

This commit is contained in:
Tiago Ribeiro
2023-10-29 14:39:16 +00:00
parent 0aefbb85ec
commit c5ece3a5f8

View File

@@ -13,6 +13,7 @@ interface MailOptions {
export function prepareMailer(template?: string): nodemailer.Transporter { export function prepareMailer(template?: string): nodemailer.Transporter {
const transport = nodemailer.createTransport({ const transport = nodemailer.createTransport({
host: process.env.SMTP_HOST, host: process.env.SMTP_HOST,
port: 465,
auth: { auth: {
user: process.env.MAIL_USER!, user: process.env.MAIL_USER!,
pass: process.env.MAIL_PASS!, pass: process.env.MAIL_PASS!,