fix(core): update
This commit is contained in:
@@ -26,7 +26,7 @@ export class Smartsmtp {
|
||||
public static async createSmartsmtpSendmail() {
|
||||
const nodemailerTransport = plugins.nodemailer.createTransport({
|
||||
sendmail: true,
|
||||
newline: 'unix'
|
||||
newline: 'unix',
|
||||
});
|
||||
return new Smartsmtp(nodemailerTransport);
|
||||
}
|
||||
@@ -61,7 +61,7 @@ export class Smartsmtp {
|
||||
});
|
||||
}
|
||||
|
||||
const response = await this.nodemailerTransport.sendMail(message).catch(err => {
|
||||
const response = await this.nodemailerTransport.sendMail(message).catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user