From 0e30f2f7b3170f27809614b85dd85d15ad0aa419 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sun, 16 Mar 2014 13:46:08 -0400 Subject: [PATCH] Updated contact form mail options --- controllers/contact.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/contact.js b/controllers/contact.js index 1819ddc8c1..b27b7ac41f 100644 --- a/controllers/contact.js +++ b/controllers/contact.js @@ -48,13 +48,13 @@ exports.postContact = function(req, res) { var name = req.body.name; var body = req.body.message; var to = 'your@email.com'; - var subject = 'API Example | Contact Form'; + var subject = 'Contact Form | Hackathon Starter'; var mailOptions = { to: to, from: from, subject: subject, - text: body + '\n\n' + name + text: body }; smtpTransport.sendMail(mailOptions, function(err) {