5 comments found.
You’re using jQuery for send Http request ‘AJAX’ right? Why not use axios for that?
Hi,
So I get this error when hitting the submit button:
/Users/simmoyprus/Desktop/nodejs_form_email/node_modules/nodemailer/lib/nodemailer.js:65 return callback(err); ^
TypeError: callback is not a function at /Users/simmoyprus/Desktop/nodejs_form_email/node_modules/nodemailer/lib/nodemailer.js:65:20 at /Users/simmoyprus/Desktop/nodejs_form_email/node_modules/nodemailer/lib/nodemailer.js:181:20 at process._tickCallback (internal/process/next_tick.js:150:11)
Any help? 
Very nice!
Thank you.
A make the tutorial but the script not working… jquery.js:8088 POST http://localhost/ 500 (unknown)send jquery.js:8088jQuery.extend.ajax jquery.js:7566(anonymous function) form.js:36jQuery.event.dispatch jquery.js:3242elemData.handle.eventHandle @ jquery.js:2861
localhost/:1 Uncaught SyntaxError: Unexpected token T
Seems like your node server isnt responding
return callback(err); nodemailer.js:181:20 at doNTCallback0 (node.js:407:9) at process._tickDomainCallback (node.js:377:13)
the node server respond, i can see the form page in local host port 80 but in pront and console browser its appear errors
the error appear when i submit de msg
We will get back to you..
Is it possible to select receiver out from 3 different names/emails?
Sorry. Can you please explain?