-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add unleash to default email sender string (#6002)
Adds "Unleash" to the "[email protected]" for default email sender --------- Signed-off-by: andreas-unleash <[email protected]>
- Loading branch information
1 parent
db93ab5
commit cc5a4cb
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
}; | ||
|