-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathemail.js
23 lines (19 loc) · 964 Bytes
/
email.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var email = {
//email address to send usage data
emailParams: process.env.EMAILPARAMS || false,
nodemailertransportparams: {
host: process.env.EMAILHOST || 'notjustnetworks.com',
port: process.env.EMAILPORT || 465,
secure: process.env.EMAILSECURE || true
},
nodemailermailoptions: {
from: process.env.EMAILFROM || '"Node OpenSSL Rest" <[email protected]>', // sender address
to: process.env.EMAILTO || '[email protected]', // list of receivers
subject: process.env.EMAILSUBJECT || 'node-openssl-rest data', // Subject line
auth: {
user: process.env.EMAILUSER || 'username', // generated ethereal user
pass: process.env.EMAILPASS || 'password' // generated ethereal password
}
}
}
module.exports = email;