Git Product home page Git Product logo

tempmailbot's Introduction

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:

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
cd TempMailBot
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 (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:

# 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

python main.py

You can also use proxychains to run your bot via Tor proxy

proxycahins python main.py

Or in quiet mode

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

sudo killall -HUP tor

Thanks <3

Dont forget to star this repository if you made it helpful!

tempmailbot's People

Contributors

kourva avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.