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('\n-  -  -  -  -  END  -  -  -  -  -\n')
	sleep(5)

Metadata

Release files for temporary-mail 1.6

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.6
File Size Uploaded Provenance Actions
temporary-mail-1.6.tar.gz 2.5 kB Without provenance Details for temporary-mail-1.6.tar.gz

Built distribution (wheel)

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

Total release size: 5.1 kB

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

Download URL temporary-mail-1.6.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
daae51e3a8d79cba30b13557348fb323cbc161fc3df188feb54d2bbf05a04424
BLAKE2b-256 checksum
How to use checksums
26880c0a3d7eb148b71ad7f82639d8dbd51b1c9ae396b96b82edfc766b1d40a8
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.6-py3-none-any.whl

Download URL temporary_mail-1.6-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b471a51594b5e58ec052c92f95ce7cb9cf2738bbc341049cda95fd813bd9f4a
BLAKE2b-256 checksum
How to use checksums
79051a1f3942b2425c204bb328aa9065c3f782a24e63e1bcc99c408384fe8cea
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.6

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