feat: attachments support (#13)
This commit is contained in:
parent
4530d95f48
commit
81062638eb
@ -169,7 +169,8 @@ The transport-email plugin for Xen Orchestra server seems to be working fine, ni
|
|||||||
from = this._conf.from,
|
from = this._conf.from,
|
||||||
to, cc, bcc,
|
to, cc, bcc,
|
||||||
subject,
|
subject,
|
||||||
markdown
|
markdown,
|
||||||
|
attachments
|
||||||
}) {
|
}) {
|
||||||
// TODO: handle errors
|
// TODO: handle errors
|
||||||
return this._send({
|
return this._send({
|
||||||
@ -178,7 +179,8 @@ The transport-email plugin for Xen Orchestra server seems to be working fine, ni
|
|||||||
cc,
|
cc,
|
||||||
bcc,
|
bcc,
|
||||||
subject,
|
subject,
|
||||||
markdown
|
markdown,
|
||||||
|
attachments
|
||||||
}).catch(logAndRethrow)
|
}).catch(logAndRethrow)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user