Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
send mail without setting up a SMTP server
JavaScript
Branch: master
Failed to load latest commit information.
examples rewrite log information
Readme.md update readme
package.json set version to 0.2.1
sendmail.js Merge pull request #8 from lykkin/master

Readme.md

node-sendmail

Send mail without SMTP server

Install

npm install sendmail

Usage

sendmail = require('sendmail')();

sendmail({
    from: 'no-reply@yourdomain.com',
    to: 'test@qq.com, test@sohu.com, test@163.com ',
    subject: 'test sendmail',
    content: 'Mail of test sendmail ',
  }, function(err, reply) {
    console.log(err && err.stack);
    console.dir(reply);
});
Something went wrong with that request. Please try again.