fix(core): update

This commit is contained in:
2020-08-12 15:09:41 +00:00
parent a9ed0370fd
commit 290b09623f
4 changed files with 16 additions and 19 deletions

View File

@ -18,8 +18,8 @@ export class Smartsmtp {
secure: true, // upgrade later with STARTTLS
auth: {
user: optionsArg.smtpUser,
pass: optionsArg.smtpPassword
}
pass: optionsArg.smtpPassword,
},
});
}
@ -36,9 +36,9 @@ export class Smartsmtp {
to: toArg,
subject: smartmailArg.getSubject(dataArg),
text: smartmailArg.getBody(dataArg),
html: smartmailArg.getBody(dataArg)
html: smartmailArg.getBody(dataArg),
};
const response = await this.nodemailerTransport.sendMail(message);
return response;
}
}
}

View File

@ -1,13 +1,9 @@
// @pushrocks scope
import * as smartmail from '@pushrocks/smartmail';
export {
smartmail
};
export { smartmail };
// third party scope
import * as nodemailer from 'nodemailer';
export {
nodemailer
};
export { nodemailer };