Skip to main content

A package that allows to create temp mail and receive emails from it.

Example:


from pytempmail import TempMail
from time import sleep

tm=TempMail()

Print Current Mail

print(f'Email: {tm.email}')

printed_mails=[]

print('All Emails are:') while True: all_mails=tm.get_mails() for mail in all_mails: if mail.id not in printed_mails: # Adding to the list, so it will not print it again printed_mails.append(mail.id) print(f'From: {mail.from_name} - {mail.from_addr}') print(f'Subject: {mail.subject}') print(f'Body: {mail.text}') # you can use mail.description to print short text # mail.html returns only html. use it if you're on web print('

') sleep(5)

Metadata

Release files for temporary-mail 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for temporary-mail 1.0
File Size Uploaded Provenance Actions
temporary-mail-1.0.tar.gz 2.5 kB Without provenance Details for temporary-mail-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for temporary-mail 1.0
File Interpreter ABI Platform Actions
temporary_mail-1.0-py3-none-any.whl Python 3 none any Details for temporary_mail-1.0-py3-none-any.whl

Total release size: 5.2 kB

Release files / temporary-mail-1.0.tar.gz

Download URL temporary-mail-1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f6f0f3899e0c6004fd4f5f03eaf90084eee9d7795b1162e72274569cfbe88592
BLAKE2b-256 checksum
How to use checksums
b5b8bbbb7362f785f0154e1ceb0d85b18a6bb252cfe58fe1166b3915386359ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / temporary_mail-1.0-py3-none-any.whl

Download URL temporary_mail-1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09161b4f1ba4cf50d30afe8385a77a0e04a492e559fc6367d1ee4ceaf6f8dac7
BLAKE2b-256 checksum
How to use checksums
6e8b946801b0786a8e204ca59e7e0ee9bd9fa16a1a757b6203099ce59f625872
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Security for temporary-mail 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page