https://github.com/xtekky/temp-mail
Python TempMail client using https://temp-mail.org/ with cloudflare bypass
https://github.com/xtekky/temp-mail
Last synced: 6 months ago
JSON representation
Python TempMail client using https://temp-mail.org/ with cloudflare bypass
- Host: GitHub
- URL: https://github.com/xtekky/temp-mail
- Owner: xtekky
- License: mit
- Created: 2022-08-22T00:43:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-22T01:06:48.000Z (about 3 years ago)
- Last Synced: 2025-03-24T18:21:20.893Z (6 months ago)
- Language: Python
- Homepage: https://temp-mail.org
- Size: 21.5 KB
- Stars: 35
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Temp-Mail Client
Python TempMail client using https://temp-mail.org/ with cloudflare bypass
### Requirements
:warning: `node-js` is required for the cloudflare client to run
Running `email.py` requires:
* Python `3.10.5` *(tested under Python 3.10.5)*
* node-js `16.17.0` *(tested under node-js 16.17.0)*### Using the TempMail Client
1. Download `email.py` and the `client` folder
2. You can use this following template code```py
from mail import TempMailemail_client = TempMail()
token, email = email_client.get_mail()
print(email)
print(token)while True:
time.sleep(5)
messages = email_client.fetch_inbox()
print(messages)
if len(messages["messages"]) > 0:email_content = email_client.get_message_content(messages["messages"][0]["_id"])
print(email_content)
```