I have this code of server.js, I am really new to this.
I try to get what the html form send to node.js server (localhost)

server.js

//initialing the website


var express = require('express');
var app = express();

app.get('/',function(req, res){//get,put,post,delete   

res.sendFile('C:\\work\\translator\\startbootstrap-freelancer-1.0.3\\index.html');
app.use("/css", express.static(__dirname + '/startbootstrap-freelancer-1.0.3/css'));
app.use("/img", express.static(__dirname + '/startbootstrap-freelancer-1.0.3/img'));
app.use("/font-awesome", express.static(__dirname + '/startbootstrap-freelancer-1.0.3/font-awesome'));
app.use("/js", express.static(__dirname + '/startbootstrap-freelancer-1.0.3/js'));
app.use("/less", express.static(__dirname + '/startbootstrap-freelancer-1.0.3/less'));
app.use("/mail", express.static(__dirname + '/startbootstrap-freelancer-1.0.3/mail'));
app.use("/fonts", express.static(__dirname + '/startbootstrap-freelancer-1.0.3/fonts'));
    });


var server = app.listen(3000, function () {

  var host = server.address().address;
  var port = server.address().port;

  console.log('Example app listening at http://%s:%s', host, port);

});


//sending mail with gmail


app.post('/contact', function (req, res) { 

var nodemailer = require('nodemailer');
var transporter = nodemailer.createTransport({

    service: 'gmail',
    auth: {
        user: 'my_email',
        pass: 'my_password'
    }
});

  transporter.sendMail({
    from:  'user@email.com',
    to: 'myemail@email.com',
    subject: 'contact',
    text:  'hello world'
});
 });


The Html form

&lt;form name="sentMessage" action="/contact" method="post" id="contact" novalidate&gt;
&lt;input type="text" class="form-control" name="name"&gt;
&lt;input type="email" class="form-control" name="email"&gt;
&lt;input type="tel" class="form-control" name="phone"&gt;
&lt;textarea rows="5" class="form-control" name="message"&gt;&lt;/textarea&gt;
&lt;button type="submit" class="btn btn-success btn-lg"&gt;send&lt;/button&gt;


I tried req.params, req.body.email and all kind of things to get the email in the email field but it says: "email undefiend", it's seems that somehow the server.js doesn't get the values/ parameters or something...


Question: Why did Lucifer interfere with Mammon crossing over?
Answer: When Angela Dodson visits Constantine in his home, then leaves and Constantine follows her (approximately 36 minutes into the movie), he says the following:


  Constantine What if I told you that God and the Devil made a wager? A kind of standing bet for the souls of all mankind
  
  Dodson I'd tell you to stay on your meds
  
  Constantine Humor me. No direct contact with humans, that would be the rule. Just influence, see who would win.
  
  Dodson Okay, I'm humoring you. Why?
  
  Constantine Who knows? Maybe just for the fun of it, no telling.


When Lucifer comes along later on and saves Dodson from Gabriel, he says


  Lucifer This world is mine, in time.


So two reasons here: He wants to win his bet with God, and he wants to stop Mammon from taking over the world, which he considers to be his.