1.0.2 • Published 5 years ago
ts-quick-smtp v1.0.2
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 runningThere is no authentication / secure connection. As mentioned before, this is for very basic testing.
Test
npm testBuild
npm run buildWhen this package is complete, an accompanying desktop / web application will be made available for easy access to emails.
System.out.println("Cheers!")