Update email configuration to use port 2525 for production server compatibility
This commit is contained in:
parent
70e90cab12
commit
5384438d28
1 changed files with 4 additions and 2 deletions
|
|
@ -5,7 +5,9 @@ import dotenv from 'dotenv';
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
|
||||||
const transporter = nodemailer.createTransport({
|
const transporter = nodemailer.createTransport({
|
||||||
service: 'gmail',
|
host: 'smtp.gmail.com',
|
||||||
|
port: 2525,
|
||||||
|
secure: false,
|
||||||
auth: {
|
auth: {
|
||||||
user: process.env.GOOGLE_EMAIL,
|
user: process.env.GOOGLE_EMAIL,
|
||||||
pass: process.env.GOOGLE_APP_PASSWORD,
|
pass: process.env.GOOGLE_APP_PASSWORD,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue