command-line interface temporary mail utility using 1secMail API
- Generate random temporary email addresses
- Create a custom temporary email address
- Manage multiple temporary email addresses
- Read email in plain text
- Read email in rendered HTML
- Download and view attachments
- Linux
- MacOS (not yet tested)
- Windows (not yet tested)
Usage: ctm addr [command]
create -- create a custom email address
new -- create a random email address
current -- display current email address
select -- set an email address as current
delete -- remove an email address
Usage: ctm [command]
refresh -- reload mailbox
list -- show all messages in mailbox
read -- display specified message
version -- display version information
help -- display help message
- curl
- json-c
- lexbor
to install, run:
$ make install
to uninstall, run:
$ make uninstall
Place the executable ctm
in your $PATH. For example, you could also
include this directory in $PATH by adding the following in your profile:
PATH=$PATH:path/to/ctm
To get zsh completion working, place the _ctm
completion script in your
fpath. For example, you could add the following to your ~/.zshrc to include the
directory that contains the _ctm
file in your $fpath:
fpath=(path/to/ctm/completion/zsh $fpath)
To get bash completion working, source the ctm.bash
completion script.
For example, add the following to your ~/.bashrc:
. path/to/ctm/completion/bash/ctm.bash
Reload your shell and the completion script should be working
To get access to the manpage, either place ctm.1
in your $MANPATH or
include this directory in the $MANPATH by adding the following in your profile:
MANPATH=$MANPATH:path/to/ctm