Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Latest commit

 

History

History
54 lines (35 loc) · 1.45 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.45 KB

NOTE: "No longer maintained. I don't know where to start with this repository. The Go code here is of poor quality. I was just learning back then."

tempomail

tempomail is a standalone binary that allows you to create a temporary email address in 1 Second and receive emails. It uses 1secmail's API. No dependencies required!

Note: Only accepting plain text for now.

Installation

From Binary

Download the pre-built binaries for different platforms from the releases page. Extract them using tar, move it to your $PATH and you're ready to go.

# download release from https://github.com/kavishgr/tempomail/releases/
▶ tar -xzvf linux-amd64-tempomail.tgz
▶ mv tempomail /usr/local/bin/
▶ tempomail -h

From Github

git clone https://github.com/kavishgr/tempomail.git
cd tempomail
go build .
mv tempomail /usr/local/bin/ #OR $HOME/go/bin
tempomail -h

Usage

By default, all emails are saved in /tmp/1secmails/. It only has only one flag --path to specify a directory to store your emails:

Usage of tempomail:
  -path string
    	specify directory to store emails (default "/tmp/1secmails/")

Press CTRL+c or SIGTERM to quit and all emails will be deleted.

Does it need improvement ?

Open an issue.

TODO

  • Download Attachments[in progress]
  • Parse formatted emails[maybe in the future]