fix: patch mail type refactor
This commit is contained in:
parent
4f2fdef363
commit
e004b5c677
|
@ -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()),
|
||||
|
|
Loading…
Reference in a new issue