Archive. Date of access: 12 Jan 2022

Marak Squires 9309ac3493 [api] connection pooling per server and port seems to be working now. 14 лет назад
lib 9309ac3493 [api] connection pooling per server and port seems to be working now. 14 лет назад
test 8720acabec [api] started to create connection pool. added stub python smtp server 14 лет назад
MIT-LICENSE b096fb71e3 cleaned up lib some more, added npm install instructions 14 лет назад
Readme.md dfa99e5c55 bumped to version 0.2.0 14 лет назад
demo.js 9309ac3493 [api] connection pooling per server and port seems to be working now. 14 лет назад
package.json b096fb71e3 cleaned up lib some more, added npm install instructions 14 лет назад

Readme.md

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

Installing npm (node package manager)

 curl http://npmjs.org/install.sh | sh

Installing say.js

 npm install mailer

USAGE

  var email = require("mailer");

  email.send({
    host : "localhost",              // smtp server hostname
    port : "25",                     // smtp server port
    domain : "localhost",            // domain used by client to identify itself to server
    authentication : "login",        // auth login is supported; anything else is no auth
    username : "dXNlcm5hbWU=",       // Base64 encoded username
    password : "cGFzc3dvcmQ=",       // Base64 encoded password
    to : "marak.squires@gmail.com",
    from : "obama@whitehouse.gov",
    subject : "node_mailer test email",
    body : "hello this is a test email from the node_mailer"
  });