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

Initial commit

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