se agrega los requerimientos de la LODPD con firma de documentos
This commit is contained in:
@@ -31,7 +31,7 @@ const getTransporter = () => {
|
||||
return transporter;
|
||||
};
|
||||
|
||||
const sendMail = async ({ to, subject, html, text }) => {
|
||||
const sendMail = async ({ to, subject, html, text, attachments }) => {
|
||||
const activeTransporter = getTransporter();
|
||||
const info = await activeTransporter.sendMail({
|
||||
from: env.mail.from,
|
||||
@@ -39,6 +39,7 @@ const sendMail = async ({ to, subject, html, text }) => {
|
||||
subject,
|
||||
html,
|
||||
text,
|
||||
attachments,
|
||||
});
|
||||
|
||||
return info;
|
||||
|
||||
Reference in New Issue
Block a user