Skip to content

Latest commit

 

History

History
31 lines (15 loc) · 704 Bytes

README.md

File metadata and controls

31 lines (15 loc) · 704 Bytes

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