feat: configurable SMTP_FROM_NAME via .env (defaults to BOHA Automation)
This commit is contained in:
@@ -12,7 +12,7 @@ export async function sendMail(to: string, subject: string, html: string): Promi
|
||||
|
||||
try {
|
||||
await transporter.sendMail({
|
||||
from: `System <${from}>`,
|
||||
from: `${config.email.smtpFromName} <${from}>`,
|
||||
to,
|
||||
subject,
|
||||
html,
|
||||
|
||||
Reference in New Issue
Block a user