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) {
mailer.sendMail(
{
from: "tomru@uber.space",
from: "Wichtelbot <tomru@uber.space>",
to: email,
subject: `Dein Wichtel ${name} ist ...`,
text: `Hey ${name},