Skip to content
/ mail-ts Public

Easy to setup, simple, smtp server written in typescript.

License

Notifications You must be signed in to change notification settings

shamxl/mail-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail-TS

Easy to setup, simple, smtp server written in typescript.

Installation

npm

$ npm i -g @shamxl/mail-ts

mannual

$ git clone https://github.com/shamxl/mail-ts
$ cd mail-ts
$ npm rum build
$ chmod +x ./dist/index.js
$ npm link

Usage

$ mail-ts --help
Options:
      --help            Show help                                      [boolean]
      --version         Show version number                            [boolean]
  -p, --port            Set port for smtp server, default 2525
                                                        [number] [default: 2525]
  -h, --hostname        Set hostname for smtp server, default localhost
                                                 [string] [default: "localhost"]
  -u, --users           Set users for smtp server eg: mail-ts -u admin guest
                                            [array] [default: ["admin","guest"]]
  -v, --verbose         Set debug mode, default to false
                                                      [boolean] [default: false]
  -m, --welcomeMessage  Set welcome message, default to `Mail Ts ready.`
                                            [string] [default: "Mail Ts ready."]
  -s, --silent          Disable all loggings except emails, default to false
                                                      [boolean] [default: false]

Example usage

$ mail-ts

About

Easy to setup, simple, smtp server written in typescript.

Resources

License

Stars

Watchers

Forks

Packages

No packages published