0.0.5 • Published 6 years ago

smtp2 v0.0.5

Weekly downloads
328
License
MIT
Repository
github
Last release
6 years ago

smtp2 smtp2

simple smtp client and server for node.js

Installation

$ npm install smtp2

Example

const smtp = require('smtp2');

const server = smtp.createServer();

server.on('client', client => {
  console.log('Client connected');
  client.on('QUIT', () => {
    console.log('Client disconnect');
  });
});

server.on('message', message => {
  console.log('Incoming Message:', message);
});

server.listen(2525);

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.


0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago