Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 2.88 KB

README.md

File metadata and controls

68 lines (48 loc) · 2.88 KB

TempMail Telegram Bot 💌

GitHub Repo stars GitHub issues GitHub pull requests GitHub contributors GitHub forks

This is a Temporary email addresses Generator telegram bot script using the mail.tm API. It enables users to create temporary email addresses directly from Telegram, check their inbox, and read messages without leaving the app.


Features

  • Generate temporary email addresses.
  • Check the inbox of the generated email.
  • Read emails directly through Telegram.
  • Supports custom username and password for email generation.
  • Secure: your temporary emails and messages are private and accessible only to you.

Requirements

Before you begin, ensure you have met the following requirements:

  • Python 3.6 or higher.
  • requests , beautifulsoup4 and aiogram==2.6 libraries.
  • A Telegram bot token (you can get one from @BotFather on Telegram).

Installation

To install necessary utilities, run the following commands:

pip install beautifulsoup4
pip install aiogram==2.6

Configuration

  1. Open the script with your favorite text editor.
  2. Find the line that contains API_TOKEN = '123456:ABCDEFGHIJLLJOdMttZ5hEZ78'.
  3. Replace the placeholder token with your actual Telegram bot token.

Deploy the Bot

git clone https://github.com/bisnuray/TempMail-Bot
cd TempMail-Bot
python3 tempmail.py

Bot Commands

  • /tmail - Command for Generate Random Mail with Pass
  • /tmail [username]:[password] - Generate a temporary email. with a specify a username and password.
  • /cmail <token> - Check the inbox of your temporary email by providing the token received during email generation.

Note: When you generate a mail pass, then you will receive a mail token. With the token, you can check 10 recent mails, each mail has a different token, so keep it privately. The mail generator general quota limit is 8 queries per second (QPS) per IP address.

Author

Feel free to reach out if you have any questions or feedback.