25 lines
582 B
JavaScript
25 lines
582 B
JavaScript
/**
|
|
* Copyright (c) 2026 Niolla
|
|
* All rights reserved.
|
|
*
|
|
* This source code is proprietary and confidential.
|
|
* Unauthorized copying, modification, distribution, or use
|
|
* of this file, via any medium, is strictly prohibited.
|
|
*/
|
|
|
|
// app/config/mail.config.js
|
|
|
|
|
|
require("dotenv").config();
|
|
|
|
module.exports = {
|
|
host: process.env.MAIL_HOST,
|
|
port: process.env.MAIL_PORT,
|
|
secure: process.env.MAIL_SECURE === "true", // true for 465, false for 587
|
|
auth: {
|
|
user: process.env.MAIL_USER,
|
|
pass: process.env.MAIL_PASS,
|
|
},
|
|
from: `ZUMRI <${process.env.MAIL_FROM}>`,
|
|
};
|