1.0.2 • Published 4 years ago

ts-quick-smtp v1.0.2

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
4 years ago

ts-quick-smtp is designed to quickly set up a local SMTP server for development / testing basic email services. It is not designed with any kind of robustness or scalability in mind. If you need either / both of those then consider something like mailtrap.io maybe?

This partially implements the RFC 821 standard for mail transfer; which is now obsolete and has since been succeeded by RFC 2821

Usage

  import startServer from 'ts-quick-smtp'
  // OR
  const startServer = require('ts-quick-smtp')

  const PORT = 2525
  startServer(PORT) // SMTP server should start running

There is no authentication / secure connection. As mentioned before, this is for very basic testing.

Test

npm test

Build

npm run build

When this package is complete, an accompanying desktop / web application will be made available for easy access to emails.

System.out.println("Cheers!")