Commit 681601bb authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

MLAB-671

parent c26cf70c
......@@ -369,7 +369,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) {
mailer.options.to = loggedInUser.email
mailer.options.subject = emailSubject
mailer.options.html = emailContent
mailer.transport.sendMail(mailer.options, function (err: any) {
mailer.transporter.sendMail(mailer.options, function (err: any) {
if (err) {
console.log('cannot send email')
throw err
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment