Matomo tracking

This commit is contained in:
2019-03-24 17:26:26 +01:00
parent 0e6ec9e0fb
commit df74cb23c0
10 changed files with 415 additions and 19 deletions
+5 -5
View File
@@ -28,11 +28,11 @@ exports.mail = function(data) {
// setup email data with unicode symbols
let mailOptions = {
from: extractFrom(data), // sender address
to: app.get('CONF').mail.request.to, // comma separated list of receivers
subject: "Equipment Anfrage", // Subject line
text: "Hello world?", // plain text body
html: "<b>Hello world?</b>" // html body
from: extractFrom(data), // sender address
to: app.get('CONF').mail.request.to, // comma separated list of receivers
subject: "Equipment Anfrage: " + data.title, // Subject line
text: JSON.stringify(data), // plain text body
html: JSON.stringify(data) // html body
};
let info = transporter.sendMail(mailOptions)