Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kourva/tempmailbot

TempMailBot is a Telegram bot that makes you temporary emails with access to mailbox!
https://github.com/kourva/tempmailbot

pytelegrambotapi python python3 telebot-telegrambotapi telegarm-bot tempmail temporary-email

Last synced: about 2 months ago
JSON representation

TempMailBot is a Telegram bot that makes you temporary emails with access to mailbox!

Awesome Lists containing this project

README

        



TempMail Telegram Bot


Make unlimited emails just in minute with access to mailbox!


Usable for Verification codes and messages, support MIME!



# ▋New Features
+ Support MIME messages (Link verification)
+ Added emoji to buttons.

# ▋Features
Bot creates account for every user joins the bot.
+ **/mail** command to manage your account.
+ **Smart username generator** to generate readable usernames.
+ can **List all mails** and **Show information** for each.
+ can **Delete All/One** email when user don't want email anymore.
+ can **Show all inbox messages** in user email.
+ uses **Inline keyboard** instead of normal keyboard.

each user can have up to **100** mails, because Telegram does't allow us to use more than **100** buttons in each message

Also note that now you can access to attachments (like confirm links) from your mailbox. you can use this for simple **conversation** or **OTP verification** and even **MIME messages**.


# ▋Clone Repository
To get started, first you need to **clone** this repository from github into your machine:
```bash
git clone https://github.com/Kourva/TempMailBot
```
and if you dont have git you can install it from your package manager!


# ▋Install Requirements
Then you have to install requirements before running bot
1. Navigate to bot directory
2. Install requirements using pip
```bash
cd TempMailBot
```
```bash
pip install -r requirements.txt
```
This will install **pyTelegamBotAPI** and **Requests** for you


# ▋Config your token
Now you have to get create bot from [BotFather](https://t.me/BotFather) **(If you don't have)** and take your **Token** to starts working with your bot.

After getting **Token** from **BotFather** replace the Token in `utils.py` in line **12** as follows:
```python
# Bot token to use
Token = "6146793572:AAE7fbH29UPOKzlHlp0YDr9o06o_NdD4DBk"
```
> This is just an example Token. Use yours instead


# ▋Launch the bot
Now you are ready to launch your bot in polling mode inside your terminal using python
```bash
python main.py
```
You can also use **proxychains** to run your bot via **Tor** proxy
```bash
proxycahins python main.py
```
Or in quiet mode
```bash
proxychains -q python main.py
```
To install proxychains install `proxychains-ng` and then edit the config file in `/etc/proxychains.conf`.

In config file comment the `strict_chain` and un-comment `dynamic_chain` and its ready to use.

# ▋TOR new IP address
If you got any denied requests that blocked your Ip address, you can renew your IP
```bash
sudo killall -HUP tor
```

# Thanks <3
> Dont forget to star this repository if you made it helpful!