Skip to content

Instantly share code, notes, and snippets.

@fredyjohn
fredyjohn / sendmail.js
Created May 20, 2011 11:42 — forked from stagas/sendmail.js
simple sendmail for node.js
/*
* Simple Sendmail
* Changes :
* - Added base64 encoding to username and password
* - Handling a simple attachment ( single base64 encoded attachment )
*/
var net = require('net')
, config = {