Table of Contents
This project can be used to integrate temporary email services into your python code. You can use this project to receive emails from temporary disposable mail boxes directly into your Python code. You can create as many email ids as you want, and view mailboxes from previously created email ids.
This can be useful if you want to test your project which uses email with various different email ids, or to integrate your code with other API's which require email verification.
Temp mail has an official API which can be used to interface your Python code to it, but it needs to be used with an API key. This project aims to fulfil the same purpose without using an API key.
Temp Mail website requests have been reverse engineered, and directly integrated into Python requests. Hence, any requests made using this script is a simulated request made by a user directly on the website.
- Python >= 3.9
-
Clone the repository:
git clone https://github.com/Zai-Kun/reverse-engineered-temp-mail-API.git
-
Install the necessary pip packages:
pip install -r reverse-engineered-temp-mail-API/requirements.txt
-
Copy the
temp_mail
directory into your project directory. To do this, copy thetemp_mail
folder from thereverse-engineered-temp-mail-API
directory and paste it into your project folder.
Refer example_usage.py for the guide on using the library.
- Use multiple email ids
- View mailbox of previously created email id
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Apache License 2.0. See LICENSE
for more information.
Zai-Kun - Discord Server
Repo Link: https://github.com/Zai-Kun/reverse-engineered-temp-mail-API