Updated contact form mail options

pull/2/head
Sahat Yalkabov 2014-03-16 13:46:08 -04:00
parent 83383c8bc6
commit 0e30f2f7b3
1 changed files with 2 additions and 2 deletions

View File

@ -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) {