Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Update email sender name

Blue Mouse1792fea9a319
diff --git a/backend/apps/cloud/src/mailer/mailer.service.ts b/backend/apps/cloud/src/mailer/mailer.service.ts
index 713788e06..5d77da719 100644
--- a/backend/apps/cloud/src/mailer/mailer.service.ts
+++ b/backend/apps/cloud/src/mailer/mailer.service.ts
@@ -160,7 +160,7 @@ export class MailerService {
const html = template(params)
const message = {
- from: process.env.FROM_EMAIL,
+ from: `Swetrix <${process.env.FROM_EMAIL}>`,
to: email,
subject,
html,
diff --git a/backend/apps/community/src/mailer/mailer.service.ts b/backend/apps/community/src/mailer/mailer.service.ts
index ff8ccbb07..55b564fc7 100644
--- a/backend/apps/community/src/mailer/mailer.service.ts
+++ b/backend/apps/community/src/mailer/mailer.service.ts
@@ -170,7 +170,7 @@ export class MailerService {
const html = template(params)
const message = {
- from: process.env.FROM_EMAIL || '[email protected]',
+ from: `Swetrix CE <${process.env.FROM_EMAIL || '[email protected]'}>`,
to: email,
subject,
html,