1.1.4 • Published 8 years ago
notification-client v1.1.4
Mail Client
This is just a simple http request, to simplify trigger Mail Server send an email.
Installation
$ npm install mail-client --save
Example
Using Coffeescript
#!coffeescript
MailClient = require 'mail-client'
client = new MailClient
host: "localhost"
port: 1993
client.send {}, (err, response) ->
if err
return console.error err
console.log response