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

Commit adb7c24

Browse files
authored
Add dojo name to the email (#414)
1 parent 8f80316 commit adb7c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dojos/users/notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function notify (args, done) {
2828
function getDojoData (wfCb) {
2929
seneca.act({role: plugin, cmd: 'load', id: dojoId}, function (err, dojo) {
3030
if (err) return done(err);
31-
payload.from = dojo.email;
31+
payload.from = '"' + dojo.name + '" <' + dojo.email + '>';
3232
payload.replyTo = dojo.email;
3333
payload.locality = args.locality || 'en_US';
3434
payload.content.dojoName = dojo.name;

0 commit comments

Comments
 (0)