# ETempMail
A simple Python module to get free disposable temporary email address.
## Installation
To install etempmail use pip:
```bash
pip install etempmail
```
## Usage
```python
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
+ https://etempmail.com
+ https://gecicimail.com.tr
+ https://toprakmail.com
+ https://segamail.com
## License
The MIT License (MIT). Please see [License File](LISENCE) for more information.
Raw data
{
"_id": null,
"home_page": "https://github.com/mahelbir/etempmail",
"name": "etempmail",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "temp mail,temporary mail,disposable mail,temp email,etempmail,etempmail.com",
"author": "Mahmuthan Elbir",
"author_email": "me@mahmuthanelbir.com.tr",
"download_url": "https://files.pythonhosted.org/packages/26/d0/a1bbcd3505e4c2b258569dadf7663af51592124a1ee4be675f713357c53f/etempmail-3.0.0.0.tar.gz",
"platform": null,
"description": "# ETempMail\r\n\r\nA simple Python module to get free disposable temporary email address.\r\n\r\n## Installation\r\n\r\nTo install etempmail use pip:\r\n\r\n```bash\r\npip install etempmail\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nfrom etempmail import TempMail\r\n\r\n# recovery: str = None, url: str = 'https://etempmail.com', debug_response: bool = True\r\ntemp_mail = TempMail() # or TempMail('WHHKSIX7915')\r\n\r\nprint(temp_mail.domains()) # response -> (domain_id, domain_name)\r\n# [('5', 'istanbultaksi.xyz'), ('4', 'privmail.com'), ('2', 'mailers.edu.pl')]\r\nprint(temp_mail.id)\r\n# 7915\r\nprint(temp_mail.email)\r\n# sidavm5dhc@istanbultaksi.xyz\r\nprint(temp_mail.recovery)\r\n# WHHKSIX7915\r\nprint(temp_mail.inbox())\r\n# [{'subject': 'test', 'from': 'Anonymousemail <noreply@gmail.com>', 'date': '16/08/2022 19:40:47', 'body': 'Test Body Code: 123'}]\r\n\r\ntemp_mail.recover('LHKXDMG7910') # Recover email address\r\ntemp_mail.change() # Change email address by random domain\r\ntemp_mail.change(4) # Change email address by domain_id\r\n```\r\n\r\n## Note\r\n\r\nYou can use the following websites and similars\r\n\r\n+ https://etempmail.com\r\n+ https://gecicimail.com.tr\r\n+ https://toprakmail.com\r\n+ https://segamail.com\r\n\r\n## License\r\n\r\nThe MIT License (MIT). Please see [License File](LISENCE) for more information.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple Python module to get free disposable temporary email address",
"version": "3.0.0.0",
"project_urls": {
"Homepage": "https://github.com/mahelbir/etempmail"
},
"split_keywords": [
"temp mail",
"temporary mail",
"disposable mail",
"temp email",
"etempmail",
"etempmail.com"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "59ce4535ef4995c628ac8f182f5e94bfeafb7b369f662a5f193711b6c0504bf6",
"md5": "7c944caf61f2886d71c91daf270a228d",
"sha256": "cdccbbea39a9ad48880f0368175a72d2083624da01741695f24a1a626259df31"
},
"downloads": -1,
"filename": "etempmail-3.0.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7c944caf61f2886d71c91daf270a228d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3602,
"upload_time": "2023-08-14T12:40:04",
"upload_time_iso_8601": "2023-08-14T12:40:04.916729Z",
"url": "https://files.pythonhosted.org/packages/59/ce/4535ef4995c628ac8f182f5e94bfeafb7b369f662a5f193711b6c0504bf6/etempmail-3.0.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "26d0a1bbcd3505e4c2b258569dadf7663af51592124a1ee4be675f713357c53f",
"md5": "8a81a3d5def7b1da597ea103a85f2621",
"sha256": "16f42aca1610ebaf872432efc47ce9f3d0512ed928dd20c688ddc5d75a864ee5"
},
"downloads": -1,
"filename": "etempmail-3.0.0.0.tar.gz",
"has_sig": false,
"md5_digest": "8a81a3d5def7b1da597ea103a85f2621",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3118,
"upload_time": "2023-08-14T12:40:06",
"upload_time_iso_8601": "2023-08-14T12:40:06.489070Z",
"url": "https://files.pythonhosted.org/packages/26/d0/a1bbcd3505e4c2b258569dadf7663af51592124a1ee4be675f713357c53f/etempmail-3.0.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-14 12:40:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mahelbir",
"github_project": "etempmail",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "etempmail"
}