admin管理员组

文章数量:1325332

I have a one page website that works with node.js, using this as web.js:

var connect = require('connect');
var serveStatic = require('serve-static');
var port = Number(process.env.PORT || 5000);
connect().use(serveStatic(__dirname)).listen(port);

There is no routing.

I want to add a contact form. We don't have to use node-mailer for the job, if you have any better ideas I'd love to hear.

I have a one page website that works with node.js, using this as web.js:

var connect = require('connect');
var serveStatic = require('serve-static');
var port = Number(process.env.PORT || 5000);
connect().use(serveStatic(__dirname)).listen(port);

There is no routing.

I want to add a contact form. We don't have to use node-mailer for the job, if you have any better ideas I'd love to hear.

Share Improve this question edited Jan 6, 2015 at 15:02 Wasi Xam asked Jan 6, 2015 at 11:56 Wasi XamWasi Xam 511 gold badge1 silver badge4 bronze badges 4
  • 1 What are your actual requirements, and why doesn't node-mailer appeal to you? – Paul Commented Jan 6, 2015 at 12:00
  • The contact form will send a mail to a gmail account, using gmail with the following information: Name, Phone number, mail, text. – Wasi Xam Commented Jan 6, 2015 at 12:02
  • Effectively dead now - nodemailer./status – tjmoore Commented Jul 15, 2017 at 16:24
  • 2 How is nodemailer dead now? It's sponsered and has over 50+ contributors. It's a very mature library currently with only 4 open issues and actively maintained. – Isaac Pak Commented Nov 19, 2018 at 17:43
Add a ment  | 

1 Answer 1

Reset to default 6

Try Postmark.js. It's simpler Or emailjs

本文标签: javascriptAlternative other than NodeMailer to use in Contact FormStack Overflow