set up d-mail as mail server
This commit is contained in:
@@ -24,14 +24,28 @@ const {
|
||||
generateRandomDigits
|
||||
} = require('../plugins/controllersHelperFunctions')
|
||||
const _faSr = _sr.fa
|
||||
// Liara
|
||||
// const transporter = nodemailer.createTransport({
|
||||
// host: 'smtp.c1.liara.email',
|
||||
// port: 587,
|
||||
// secure: false, // true for 465, false for other ports
|
||||
// auth: {
|
||||
// user: 'boring_bouman_81kd95',
|
||||
// pass: 'ec9e96d3-6108-4ca5-97a9-39fff09d3557'
|
||||
// },
|
||||
// tls: {
|
||||
// rejectUnauthorized: false
|
||||
// }
|
||||
// })
|
||||
|
||||
// Our DMAIL
|
||||
const transporter = nodemailer.createTransport({
|
||||
host: 'smtp.c1.liara.email',
|
||||
port: 587,
|
||||
secure: false, // true for 465, false for other ports
|
||||
host: 'smtps.danakcorp.com',
|
||||
port: 465,
|
||||
secure: true, // true for 465, false for other ports
|
||||
auth: {
|
||||
user: 'boring_bouman_81kd95',
|
||||
pass: 'ec9e96d3-6108-4ca5-97a9-39fff09d3557'
|
||||
user: 'info@asan-service.com',
|
||||
pass: 'Ss123456?'
|
||||
},
|
||||
tls: {
|
||||
rejectUnauthorized: false
|
||||
|
||||
Reference in New Issue
Block a user