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

Initial commit

parent 3815e9de
...@@ -14,12 +14,12 @@ const sendEmail = (request, response) => { ...@@ -14,12 +14,12 @@ const sendEmail = (request, response) => {
<p>${message}</p> <p>${message}</p>
` `
let transporter = nodemailer.createTransport({ let transporter = nodemailer.createTransport({
host: 'mta.visionet.co.id', host: '10.10.8.249',
auth: { auth: {
user: 'prastowo.nugroho.int@visionet.co.id', user: '',
pass: '02Maret2020' pass: ''
}, },
port: 587, port: 25,
secure: true secure: true
// proxy: 'http://10.10.7.249:587' // proxy: 'http://10.10.7.249:587'
}) })
...@@ -30,7 +30,7 @@ const sendEmail = (request, response) => { ...@@ -30,7 +30,7 @@ const sendEmail = (request, response) => {
maillist.forEach(function (to, i, array) { maillist.forEach(function (to, i, array) {
let mailOptions = { let mailOptions = {
from: 'prastowo.nugroho.int@visionet.co.id', from: 'viona@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