Search Posts

Category: nodemailer

Angular with Nodemailer app & routes not linking on form submit /POST

I have not used Node/Express in well over a year so I am a bit rusty. I have followed many other examples on setting up an Angular form to sent a /POST request which then uses the nodemailer sendMail() method. When I click on submit on my form, nothing happens, but the Angular controller gets a 200 response. server.js: var express = require(‘express’); var app = express(); var port = 9000; var apiRoutes = require(‘./app/routes.js’); […]