Commit 3815e9de authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent ec6f1db7
...@@ -14,13 +14,6 @@ const sendEmail = (request, response) => { ...@@ -14,13 +14,6 @@ const sendEmail = (request, response) => {
<p>${message}</p> <p>${message}</p>
` `
let transporter = nodemailer.createTransport({ let transporter = nodemailer.createTransport({
// host: 'smtp.gmail.com',
// port: 465,
// secure: true,
// auth: {
// user: 'vdocmanagement@gmail.com',
// pass: 'docmgmt123'
// },
host: 'mta.visionet.co.id', host: 'mta.visionet.co.id',
auth: { auth: {
user: 'prastowo.nugroho.int@visionet.co.id', user: 'prastowo.nugroho.int@visionet.co.id',
...@@ -37,7 +30,7 @@ const sendEmail = (request, response) => { ...@@ -37,7 +30,7 @@ const sendEmail = (request, response) => {
maillist.forEach(function (to, i, array) { maillist.forEach(function (to, i, array) {
let mailOptions = { let mailOptions = {
from: 'vdocmanagement@gmail.com', from: 'prastowo.nugroho.int@visionet.co.id',
cc: emailcc, cc: emailcc,
subject: subject, subject: subject,
text: message, text: message,
......
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