fixed nodemailer setting

This commit is contained in:
Zai Shi 2024-04-15 10:12:09 +02:00
parent cff003722f
commit 06bba497ed

View File

@ -35,8 +35,7 @@ export async function sendEmail({
const transporter = nodemailer.createTransport({
host: emailConfig.host,
port: emailConfig.port,
// secure: true,
secure: false,
secure: true,
auth: {
user: emailConfig.username,
pass: emailConfig.password,