A simple Python module to get free disposable temporary email address
Project description
ETempMail
A simple Python module to get free disposable temporary email address.
Installation
To install etempmail use pip:
pip install etempmail
Usage
from etempmail import TempMail
# recovery: str = None, url: str = 'https://etempmail.com', debug_response: bool = True
temp_mail = TempMail() # or TempMail('WHHKSIX7915')
print(temp_mail.domains()) # response -> (domain_id, domain_name)
# [('5', 'istanbultaksi.xyz'), ('4', 'privmail.com'), ('2', 'mailers.edu.pl')]
print(temp_mail.id)
# 7915
print(temp_mail.email)
# sidavm5dhc@istanbultaksi.xyz
print(temp_mail.recovery)
# WHHKSIX7915
print(temp_mail.inbox())
# [{'subject': 'test', 'from': 'Anonymousemail <noreply@gmail.com>', 'date': '16/08/2022 19:40:47', 'body': 'Test Body Code: 123'}]
temp_mail.recover('LHKXDMG7910') # Recover email address
temp_mail.change() # Change email address by random domain
temp_mail.change(4) # Change email address by domain_id
Note
You can use the following websites and similars
License
The MIT License (MIT). Please see License File for more information.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
etempmail-3.0.0.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for etempmail-3.0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdccbbea39a9ad48880f0368175a72d2083624da01741695f24a1a626259df31 |
|
MD5 | 7c944caf61f2886d71c91daf270a228d |
|
BLAKE2b-256 | 59ce4535ef4995c628ac8f182f5e94bfeafb7b369f662a5f193711b6c0504bf6 |