Skip to content

Commit

Permalink
fix: add unleash to default email sender string (#6002)
Browse files Browse the repository at this point in the history
Adds "Unleash" to the "[email protected]" for default email sender

---------

Signed-off-by: andreas-unleash <[email protected]>
  • Loading branch information
andreas-unleash authored Jan 23, 2024
1 parent db93ab5 commit cc5a4cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/__snapshots__/create-config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ exports[`should create default config 1`] = `
"host": undefined,
"port": 587,
"secure": false,
"sender": "[email protected]",
"sender": "Unleash <[email protected]>",
"smtppass": undefined,
"smtpuser": undefined,
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/create-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const defaultEmail: IEmailOption = {
host: process.env.EMAIL_HOST,
secure: parseEnvVarBoolean(process.env.EMAIL_SECURE, false),
port: parseEnvVarNumber(process.env.EMAIL_PORT, 587),
sender: process.env.EMAIL_SENDER || '[email protected]',
sender: process.env.EMAIL_SENDER || 'Unleash <[email protected]>',
smtpuser: process.env.EMAIL_USER,
smtppass: process.env.EMAIL_PASSWORD,
};
Expand Down

0 comments on commit cc5a4cb

Please sign in to comment.