Update dependencies, fix package conflicts, add packages (ejs, email-templates)

This commit is contained in:
webwitcher
2019-02-07 13:53:49 +01:00
committed by Martin Hauck
parent 0baf3fc857
commit a2b941b0ae
10 changed files with 55 additions and 31 deletions

View File

@@ -37,7 +37,7 @@ class Email {
* @param {boolean} pgp (optional) if outgoing emails are encrypted to the user's public key.
*/
init({host, port = 465, auth, tls, starttls, pgp, sender}) {
this._transport = nodemailer.createTransport({
const transporter = nodemailer.createTransport({
host,
port,
auth,