name in email

This commit is contained in:
Thomas Ruoff
2019-11-18 22:58:20 +01:00
parent 4ff8ae1039
commit 1b47848ce4

View File

@@ -13,7 +13,7 @@ const mailer = nodemailer.createTransport({
function mail(email, name, pick) { function mail(email, name, pick) {
mailer.sendMail( mailer.sendMail(
{ {
from: "tomru@uber.space", from: "Wichtelbot <tomru@uber.space>",
to: email, to: email,
subject: `Dein Wichtel ${name} ist ...`, subject: `Dein Wichtel ${name} ist ...`,
text: `Hey ${name}, text: `Hey ${name},