Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tanepiper/node-simplesmtp

ABANDONED - A real simple SMTP client for node.js, handy for debugging
https://github.com/tanepiper/node-simplesmtp

Last synced: 9 days ago
JSON representation

ABANDONED - A real simple SMTP client for node.js, handy for debugging

Awesome Lists containing this project

README

        

### THIS MODULE IS NOW ABANDONED AND UNPUBLISHED FROM NPM. It is kept here for archive purposes only.

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

git clone http://github.com/tanepiper/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)
```