Agregar firmas externas seguras y mejorar entregabilidad de correos
This commit is contained in:
@@ -33,8 +33,12 @@ const getTransporter = () => {
|
||||
|
||||
const sendMail = async ({ to, subject, html, text, attachments }) => {
|
||||
const activeTransporter = getTransporter();
|
||||
const from = env.mail.from.includes('<')
|
||||
? env.mail.from
|
||||
: `LinkedSign <${env.mail.from}>`;
|
||||
const info = await activeTransporter.sendMail({
|
||||
from: env.mail.from,
|
||||
from,
|
||||
replyTo: env.mail.from,
|
||||
to,
|
||||
subject,
|
||||
html,
|
||||
|
||||
Reference in New Issue
Block a user