diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index c8f79e603346..388ad255b37b 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -57,7 +57,7 @@ exports[`should create default config 1`] = ` "host": undefined, "port": 587, "secure": false, - "sender": "noreply@getunleash.io", + "sender": "Unleash ", "smtppass": undefined, "smtpuser": undefined, }, diff --git a/src/lib/create-config.ts b/src/lib/create-config.ts index c5383d029a78..8ee28b38dfec 100644 --- a/src/lib/create-config.ts +++ b/src/lib/create-config.ts @@ -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 || 'noreply@getunleash.io', + sender: process.env.EMAIL_SENDER || 'Unleash ', smtpuser: process.env.EMAIL_USER, smtppass: process.env.EMAIL_PASSWORD, };