diff --git a/server/controllers/userController.js b/server/controllers/userController.js index 51f9eaf..988cc03 100644 --- a/server/controllers/userController.js +++ b/server/controllers/userController.js @@ -40,8 +40,8 @@ function sendConfirmationEmail(userId) { // const hostURL = 'www.asan-service.com' const transporter = nodemailer.createTransport({ host: 'mail.asan-service.com', - port: 587, - secure: false, // true for 465, false for other ports + port: 465, + secure: true, // true for 465, false for other ports auth: { user: 'confirmation@asan-service.com', pass: 'N7xNFZp*L_X{'