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

Commit 23c86b4

Browse files
committed
modified mail
1 parent e5cfc8f commit 23c86b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/services/MailService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MailService {
2424
const templatePath = path_1.default.join(process.cwd(), 'mailTemplates', template);
2525
const html = await ejs_1.default.renderFile(templatePath, data || {});
2626
const mailOptions = {
27-
from: process.env.SMTP_FROM || 'Croissant API <support@croissant-api.fr>',
27+
from: process.env.SMTP_FROM || 'Croissant API <noreply@croissant-api.fr>',
2828
to,
2929
subject,
3030
html,

src/services/MailService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class MailService implements IMailService {
2828
const templatePath = path.join(process.cwd(), 'mailTemplates', template);
2929
const html = await ejs.renderFile(templatePath, data || {});
3030
const mailOptions = {
31-
from: process.env.SMTP_FROM || 'Croissant API <support@croissant-api.fr>',
31+
from: process.env.SMTP_FROM || 'Croissant API <noreply@croissant-api.fr>',
3232
to,
3333
subject,
3434
html,

0 commit comments

Comments
 (0)