Skip to content

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

Notifications You must be signed in to change notification settings

ambled/rest-smtp-sink

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published