• This repository has been archived on 06/Jul/2023
  • Stars
    star
    154
  • Rank 234,199 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created over 3 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate a custom Email Address in 1 Second and receive Emails.

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]