notification-client
v1.1.4
Published
This is just a simple http request, to simplify trigger [Mail Server](https://github.com/alileza/mail-server) send an email.
Downloads
2
Readme
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