Commit 74a2772c authored by pdg16's avatar pdg16
Browse files

fix email bug

parent c2dfcf8b
Pipeline #21633 failed with stage
in 1 minute and 50 seconds
......@@ -136,8 +136,8 @@ messageApp.post('/', (req, res, next) => {
origin: req.body.origin
});
let text = message.author.name + " <" + message.author.email +
"> enviou a seguinte mensagem via página de contato do LDE:\n" +
let text = message.author.name + " (" + message.author.email +
") enviou a seguinte mensagem via página de contato do LDE:\n" +
message.contents;
let mailOptions = {
......
Markdown is supported
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