Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 2c99e73

Browse files
authored
Ensure the dojo name is qouted before sending the email (#192)
1 parent d4f196e commit 2c99e73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/bulk-apply-applications.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function bulkApplyApplications (args, callback) {
286286
to: profile.email || null,
287287
code: emailCode,
288288
subject: emailSubject,
289-
from: dojo.name+' <'+dojo.email+'>',
289+
from: '"' + dojo.name + '" <'+dojo.email+'>',
290290
content: {
291291
tickets: tickets,
292292
applicantName: profile.name,
@@ -372,7 +372,7 @@ function bulkApplyApplications (args, callback) {
372372
to: parentEmail || null,
373373
code: emailCode,
374374
subject: emailSubject,
375-
from: dojo.name+' <'+dojo.email+'>',
375+
from: '"' + dojo.name + '" <'+dojo.email+'>',
376376
tickets: tickets,
377377
content: {
378378
tickets: tickets,

0 commit comments

Comments
 (0)