perf: 支持邮箱发送证书

This commit is contained in:
xiaojunnuo
2025-07-15 13:58:01 +08:00
parent 9864792bbf
commit 95332d5db9
6 changed files with 113 additions and 3 deletions

View File

@@ -98,6 +98,8 @@ export class EmailService implements IEmailService {
to: email.receivers.join(', '), // list of receivers
subject: subject,
text: email.content,
html: email.html,
attachments: email.attachments,
};
await transporter.sendMail(mailOptions);
}