fix(core): update
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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 };
|
||||
|
Reference in New Issue
Block a user