se agrego envio de correos caarga masiva

This commit is contained in:
Emilio-11
2026-04-09 16:59:22 -06:00
parent d0da4e81cf
commit 7110104e90
8 changed files with 323 additions and 35 deletions
+8
View File
@@ -47,6 +47,14 @@ export class MailController {
return result;
}
@Post('masivo')
async enviarMasivo(
@Body() data: SendCorreoDto[],
@Headers() headers: { token: string },
) {
return await this.mailService.sendBulkMail(data, headers.token);
}
/*
@Post('send-excel')