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,
|
to: req.body.to,
|
||||||
cc: req.body.cc,
|
cc: req.body.cc,
|
||||||
subject: req.body.subject,
|
subject: req.body.subject,
|
||||||
info,
|
// info,
|
||||||
});
|
});
|
||||||
|
|
||||||
res.json({ success: true, response: info });
|
res.json({
|
||||||
|
success: true, //response: info
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
logger.log("send-email-failure", "ERROR", req.user.email, null, {
|
logger.log("send-email-failure", "ERROR", req.user.email, null, {
|
||||||
from: `${req.body.from.name} <${req.body.from.address}>`,
|
from: `${req.body.from.name} <${req.body.from.address}>`,
|
||||||
|
|||||||
Reference in New Issue
Block a user