aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/emailer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/emailer.ts')
-rw-r--r--server/lib/emailer.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts
index c4a5a5853..73c2bcb1b 100644
--- a/server/lib/emailer.ts
+++ b/server/lib/emailer.ts
@@ -402,7 +402,7 @@ class Emailer {
402 return JobQueue.Instance.createJob({ type: 'email', payload: emailPayload }) 402 return JobQueue.Instance.createJob({ type: 'email', payload: emailPayload })
403 } 403 }
404 404
405 addContactFormJob (fromEmail: string, fromName: string, body: string) { 405 addContactFormJob (fromEmail: string, fromName: string, subject: string, body: string) {
406 const text = 'Hello dear admin,\n\n' + 406 const text = 'Hello dear admin,\n\n' +
407 fromName + ' sent you a message' + 407 fromName + ' sent you a message' +
408 '\n\n---------------------------------------\n\n' + 408 '\n\n---------------------------------------\n\n' +
@@ -415,7 +415,7 @@ class Emailer {
415 fromDisplayName: fromEmail, 415 fromDisplayName: fromEmail,
416 replyTo: fromEmail, 416 replyTo: fromEmail,
417 to: [ CONFIG.ADMIN.EMAIL ], 417 to: [ CONFIG.ADMIN.EMAIL ],
418 subject: CONFIG.EMAIL.OBJECT.PREFIX + 'Contact form submitted', 418 subject: CONFIG.EMAIL.OBJECT.PREFIX + subject,
419 text 419 text
420 } 420 }
421 421