Python wrapper to access Gmailnator programmatically
What is Gmailnator?
Gmailnator is a free service that allows getting instant temporary email it is also known as “tempmail”, “10 minute mail”, “throw away mail”, “disposable mail”, fake email, and “trash mail”. It is used to prevent spam into your personal email address. Most of the sites require to register in order to view content, post comments,or download files like forums, blogs, public WI-FI spots, etc. you can use gmailnator to get instant email without using your real email address.
Gmailnator is the most advanced temporary email service on the web because it offers you to use a Gmail email address in which other temp mail providers are not supported.
Warning
Never use temporary mail for important information. It is a public email and can be accessed by anyone and your mail address is only temporary. Gmailnator email messages are auto-deleted after 24 hours and has a 7 Days Backup of all Emails.
Example
import gmailnator
csrf_token, email = gmailnator.generate_email()
print(f'Email: {email}')
print(f'Token: {csrf_token}')
input('Send email, wait a few minutes to ensure that it has been received then press enter to continue...')
emails = gmailnator.check_emails(csrf_token, email)
print(f'Got {len(emails)} emails')
for mail in emails:
print(f'Subject: {mail["subject"]}')
print(f'Body: {mail["body"]}')
print(f'Link: {mail["link"]}')
print(f'Time: {mail["time"]}')
print(f'Full body: {gmailnator.get_message(mail["link"], csrf_token)}')
Release files for gmailnator.py 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gmailnator.py-1.0.2.tar.gz | 4.0 kB | Details |
Release files / gmailnator.py-1.0.2.tar.gz
| Download URL | gmailnator.py-1.0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
216fd4030192976cb864b519d221dca38f9c998e9d5bb6b9435f8cd3b5208a53
|
|
BLAKE2b-256 checksum How to use checksums |
2beecfee0a17d077a661cf902774ebe7b5914dd4fcf8a08e106002801fceb02e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|