Skip to content
This repository

## Project deprecated, see README

tree: fb8c11e2e0

Fetching latest commit…

Cannot retrieve the latest commit at this time


send emails from node.js to your smtp server, simple as cake.

Installing npm (node package manager)

 curl | sh

Installing say.js

 npm install mailer


  • super simple api
  • emails are blasted out asynchronously
  • uses connection pooling per SMTP server
  • super simple built in templates using Mustache.js


  • SMTP Server


  var email = require("../lib/node_mailer");

  for(var i = 0; i < 10; i++){

      host : "localhost",              // smtp server hostname
      port : "25",                     // smtp server port
      ssl: true,                        // for SSL support - REQUIRES NODE v0.3.x OR HIGHER
      domain : "localhost",            // domain used by client to identify itself to server
      to : "",
      from : "",
      subject : "node_mailer test email",
      body: "Hello! This is a test of the node_mailer.",
      authentication : "login",        // auth login is supported; anything else is no auth
      username : "dXNlcm5hbWU=",       // Base64 encoded username
      password : "cGFzc3dvcmQ="       // Base64 encoded password
    function(err, result){
      if(err){ console.log(err); }


node_mailer SSL connections (not TLS / STARTTLS, just SSL from the beginning of the connection). To use it, add an option ssl: true. See usage above.


Marak Squires, Elijah Insua, Fedor Indutny, Bradley Meck

Something went wrong with that request. Please try again.