IO-1422 Resolve send email with attachments.
This commit is contained in:
@@ -90,10 +90,12 @@ exports.sendEmail = async (req, res) => {
|
||||
to: req.body.to,
|
||||
cc: req.body.cc,
|
||||
subject: req.body.subject,
|
||||
info,
|
||||
// info,
|
||||
});
|
||||
|
||||
res.json({ success: true, response: info });
|
||||
res.json({
|
||||
success: true, //response: info
|
||||
});
|
||||
} else {
|
||||
logger.log("send-email-failure", "ERROR", req.user.email, null, {
|
||||
from: `${req.body.from.name} <${req.body.from.address}>`,
|
||||
|
||||
Reference in New Issue
Block a user