Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: feaaa6471c
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (22 sloc) 1.033 kB
>>>>>> THIS MODULE IS NOW DEPRICATED AND UNPUBLISHED FROM NPM <<<<<<
If you want a simple SMTP/Mail client module for nodejs, check out node-pony (https://github.com/substack/node-pony) instead.
Real Simple NodeJS SMTP
This module provides a real simple SMTP client. It provides no error checking or
callbacks, it just lets you provide connection settings to a client handler which you
can then use throughout your own module.
Handy for debugging
Some code based on node_mailer by Marak Squires - http://github.com/marak/node_mailer
=====================================================================================
Install
-------
npm install simplesmtp
OR
git clone http://github.com/digitalspaghetti/node-simplesmtp.git
cd node-simplesmtp
npm install .
Useage:
-------
var simplesmtp = require('simplesmtp');
var mailClient = simplesmtp.createClient(host, username, password [,port, domain, authentication, encoding]);
mailClient.sendMail(to, from, subject, body)
Tane Piper <github@digitalspaghetti.me.uk>
Jump to Line
Something went wrong with that request. Please try again.