Commit ee3f831e authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent ab9cdf07
......@@ -14,22 +14,23 @@ const sendEmail = (request, response) => {
<p>${message}</p>
`
let transporter = nodemailer.createTransport({
host: 'smtp.gmail.com',
// host: 'smtp.gmail.com',
// service: 'Gmail',
// host: 'mta.visionet.co.id',
host: 'mta.visionet.co.id',
port: 587,
secure: false,
auth: {
user: 'vdocmanagement@gmail.com',
pass: 'docmgmt123'
user: 'prastowo.nugroho.int@visionet.co.id',
pass: '02Maret2020'
},
// auth: {
// user: 'prastowo.nugroho.int@visionet.co.id',
// pass: '02Maret2020'
// },
tls: {
rejectUnauthorized: false
},
// debug: true
// auth: {
// user: 'vdocmanagement@gmail.com',
// pass: 'docmgmt123'
// },
})
let maillist = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment