Fix email service
This commit is contained in:
@@ -39,12 +39,12 @@ function sendConfirmationEmail(userId) {
|
||||
/// //// email configs
|
||||
// const hostURL = 'www.asan-service.com'
|
||||
const transporter = nodemailer.createTransport({
|
||||
host: 'mail.asan-service.com',
|
||||
port: 465,
|
||||
secure: true, // true for 465, false for other ports
|
||||
host: 'smtp.c1.liara.email',
|
||||
port: 587,
|
||||
secure: false, // true for 465, false for other ports
|
||||
auth: {
|
||||
user: 'confirmation@asan-service.com',
|
||||
pass: 'N7xNFZp*L_X{'
|
||||
user: 'awesome_bell_ncc1hi',
|
||||
pass: '509f8938-db95-4b8d-83e7-9ea8eccfd28b'
|
||||
},
|
||||
tls: {
|
||||
rejectUnauthorized: false
|
||||
|
||||
Reference in New Issue
Block a user