mirror of
https://github.com/certd/certd.git
synced 2026-04-15 13:32:37 +08:00
perf: 支持邮箱发送证书
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user