Fix email sender format in mailer service

This commit is contained in:
Marco Pedone 2025-08-19 14:00:13 +02:00
parent 7a1f4ade54
commit 9733cda490

View file

@ -61,7 +61,7 @@ const mailer = async ({ to, subject, html }: MailerProps) => {
smtpTransport.use("compile", htmlToText()); smtpTransport.use("compile", htmlToText());
const message = { const message = {
from: env.ARUBA_USER, from: `"InfoAlloggi" <${env.ARUBA_USER}>`,
to: to, to: to,
subject: subject, subject: subject,
html: html, html: html,