[enh] add cc for mail
This commit is contained in:
@@ -23,6 +23,7 @@ export async function sendMail(conf: ConfMail, subject: string, html: string) {
|
||||
let info = await transporter.sendMail({
|
||||
from: conf.from,
|
||||
to: conf.to,
|
||||
cc: conf.cc,
|
||||
subject,
|
||||
html
|
||||
})
|
||||
|
||||
@@ -44,5 +44,6 @@ export interface ConfMail {
|
||||
username: string
|
||||
apikey: string
|
||||
from: string
|
||||
cc?: string
|
||||
to: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user