firechat and firepad installed but not fully working

This commit is contained in:
Michael Q Larson
2014-10-12 01:51:55 -07:00
parent 8e84894ba9
commit 05c31ba15d
9 changed files with 1045 additions and 338 deletions

View File

@@ -1,10 +1,10 @@
var secrets = require('../config/secrets');
var nodemailer = require("nodemailer");
var transporter = nodemailer.createTransport({
service: 'SendGrid',
service: 'Mandrill',
auth: {
user: secrets.sendgrid.user,
pass: secrets.sendgrid.password
user: secrets.mandrill.user,
pass: secrets.mandrill.password
}
});
@@ -42,8 +42,8 @@ exports.postContact = function(req, res) {
var from = req.body.email;
var name = req.body.name;
var body = req.body.message;
var to = 'your@email.com';
var subject = 'Contact Form | Hackathon Starter';
var to = 'quincy@courseforward.com';
var subject = 'Free Code Camp';
var mailOptions = {
to: to,