fix: patch mail type refactor

This commit is contained in:
Julien Oculi 2024-03-29 16:06:20 +01:00
parent 4f2fdef363
commit e004b5c677

View file

@ -3,7 +3,7 @@ import { transporter } from './transporter.ts'
export function send(mail: Mail) {
return transporter.sendMail({
from: mail.options.from.toString(),
from: mail.from.toString(),
to: mail.to.map((contact) => contact.toString()),
cc: mail.options.cc.map((cc) => cc.toString()),
bcc: mail.options.cci.map((cci) => cci.toString()),