https://github.com/kevcui/tempmail
:mailbox_with_mail: Use disposable temp-mail service from terminal
https://github.com/kevcui/tempmail
bash bash-script cli disposable-email disposable-emails mail temp-mail tempmail temporary-email temporary-emails
Last synced: 10 months ago
JSON representation
:mailbox_with_mail: Use disposable temp-mail service from terminal
- Host: GitHub
- URL: https://github.com/kevcui/tempmail
- Owner: KevCui
- License: wtfpl
- Created: 2019-09-26T20:11:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-26T20:13:35.000Z (over 5 years ago)
- Last Synced: 2025-04-06T15:03:49.484Z (about 1 year ago)
- Topics: bash, bash-script, cli, disposable-email, disposable-emails, mail, temp-mail, tempmail, temporary-email, temporary-emails
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tempmail 
> Use [temp-mail](https://temp-mail.org/) disposable email service from your terminal.
## Table of Contents
- [Dependency](#dependency)
- [How to use](#how-to-use)
- [Run tests](#run-tests)
- [Similar projects](#similar-projects)
## Dependency
- [cURL](https://curl.haxx.se/download.html)
- [jq](https://stedolan.github.io/jq/)
- [faker-cli](https://github.com/lestoni/faker-cli)
## How to use
```
Usage:
./tempmail.sh [-u |-c |-d |-s]
Options:
no option optional, randamly get an inbox
-u optional, get an inbox by its mail address
-c optional, delete inbox
-d optional, delete mail by its uid
-s optional, show available domains
-h | --help display this help message
Examples:
- Generate a random inbox:
$ ./tempmail.sh
- Get mails in test@temp-link.net:
$ ./tempmail.sh -u test@temp-link.net
- Delete inbox test@temp-link.net:
$ ./tempmail.sh -c test@temp-link.net
- Delete mail uUa4V5Hjmkqf9O:
$ ./tempmail.sh -d uUa4V5Hjmkqf9O
- Show all available domains:
$ ./tempmail.sh -s
```
## Run tests
```
$ bats test/tempmail.bats
```
## Similar projects
Want more temp mail service? Check out:
- [1secmail](https://github.com/KevCui/1secmail)
- [getnada](https://github.com/KevCui/getnada)
Want to send anonymous emails? Check out:
- [sendmail](https://github.com/KevCui/sendmail)
You may like them!
---
