Commit 098d149f authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent 3ac60641
......@@ -14,17 +14,22 @@ const sendEmail = (request, response) => {
<p>${message}</p>
`
let transporter = nodemailer.createTransport({
host: '10.10.8.249',
// host: 'smtp.gmail.com',
// service: 'Gmail',
host: 'mta.visionet.co.id',
port: 587,
secure: false,
auth: {
user: '',
pass: ''
user: 'prastowo.nugroho.int@visionet.co.id',
pass: '02Maret2020'
},
// auth: {
// user: 'vdocmanagement@gmail.com',
// pass: 'docmgmt123'
// },
tls: {
rejectUnauthorized: false
},
port: 25,
secure: false
// proxy: 'http://10.10.7.249:587'
}
})
let maillist = [
......@@ -33,7 +38,7 @@ const sendEmail = (request, response) => {
maillist.forEach(function (to, i, array) {
let mailOptions = {
from: 'viona@visionet.co.id',
from: 'prastowo.nugroho.int@visionet.co.id',//'vdocmanagement@gmail.com'
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