loopback- how to access from one model to another and send email?
问题 I have the career form where i have all the details with the file attachment. now i can able to store the file. I am able to send email, but both sending email with attachment is not happening because i have two model one is for attachment and the other is Persisted model. In the attachment.js i am able to get the file file name but i could not send email with attachment. Here is code. career.js 'use strict'; const app = require('../../server/server'); module.exports = function(Career) {