marlonpp / rest-smtp-sink

Similar to fakesmtp, rest-smtp-sink is a SMTP server and web server. It stores e-mails received in a Sqlite database, and serves them via the web server with a RESTful API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM Version NPM Downloads Node.js Version Build Status Dependency Status Coverage Status

NPM

Similar to FakeSMTP, rest-smtp-sink is a SMTP server and web server. It stores e-mails it receives in a SQLite database, and serves them via its own web server, with a RESTful API.

Install

npm install -g rest-smtp-sink

Usage

rest-smtp-sink

Creates a server using the default SMTP port of 2525, HTTP port of 2526, and a database with the file name rest-smtp-sink.sqlite

Options

-l, --listen [port]

TCP port to listen on for HTTP

-s, --smtp [port]

TCP port to listen on for SMTP

-f, --file [file]

SQLite database file

About

Similar to fakesmtp, rest-smtp-sink is a SMTP server and web server. It stores e-mails received in a Sqlite database, and serves them via the web server with a RESTful API.

License:ISC License


Languages

Language:JavaScript 100.0%