Background job for sending emails + confirmation email template.

This commit is contained in:
baldo 2016-05-21 17:06:24 +02:00
parent a5605a0349
commit 001e7b59a3
13 changed files with 414 additions and 18 deletions
server

View file

@ -12,7 +12,18 @@ var defaultConfig = {
peersPath: '/tmp/peers',
email: {
from: 'no-reply@musterstadt.freifunk.net'
from: 'Freifunk Knotenformular <no-reply@musterstadt.freifunk.net>',
// For details see: https://nodemailer.com/2-0-0-beta/setup-smtp/
smtp: {
host: 'mail.example.com',
port: '465',
secure: true,
auth: {
user: 'user@example.com',
pass: 'pass'
}
}
}
},
client: {