[enh] add cc for mail

This commit is contained in:
2019-08-31 18:01:50 +02:00
parent 85a0fd7d32
commit 8b60767622
2 changed files with 2 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ export async function sendMail(conf: ConfMail, subject: string, html: string) {
let info = await transporter.sendMail({ let info = await transporter.sendMail({
from: conf.from, from: conf.from,
to: conf.to, to: conf.to,
cc: conf.cc,
subject, subject,
html html
}) })

View File

@@ -44,5 +44,6 @@ export interface ConfMail {
username: string username: string
apikey: string apikey: string
from: string from: string
cc?: string
to: string to: string
} }