… code out a bit
…r all commands.
…t can return a 554 error code. - Added 554 error code to errors.js - Added unhandled error to errors.js - Changed Connect to use a switch/case flow.
- Moved the errors to be standalone, this file will include both client and server error code translations. - Moved the client code into a separate file, all client related code should be there, same will happen if/when I implement the server. - Refactored smtp module to provide simple wrappers over the submodules.
…rver. - Changed from protocol based to client/server based. - Added check for process.EventEmitter.addOnce, patches if not available in Queue - Changed the demos to be examples. - Setup various modules for SMTP Client. TODO: - Write tests. - Figure out best test suite to use.