Commit e913254b authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent e4e26a7d
...@@ -5,7 +5,7 @@ const nodemailer = require('nodemailer') ...@@ -5,7 +5,7 @@ const nodemailer = require('nodemailer')
const app = express() const app = express()
app.use(bodyParser.json()) app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false })) app.use(bodyParser.urlencoded({ extended: true }))
const sendEmail = (request, response) => { const sendEmail = (request, response) => {
const {subject, emailcc, emailsend, message} = request.body const {subject, emailcc, emailsend, message} = request.body
......
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