omkar-temp-mail


Nameomkar-temp-mail JSON
Version 1.1.0 PyPI version JSON
download
home_page
SummaryUse Omkar Temporary for receiving temporary emails
upload_time2023-06-14 12:10:51
maintainer
docs_urlNone
authorChetan Jain
requires_python
licenseMIT
keywords temp-mail disposable-email temporary-email tempmail temporary-email disposable-email-addresses python mail-api mail 10minutemail 10minute free-mail
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Omkar Temp Mail
===============

Omkar Temporary Mail provides a convenient solution for receiving
temporary emails. It is particularly useful for automated tasks that
require email verification during account creation.

Getting Started
---------------

To get started with Omkar Temp Mail install ``omkar-temp-mail`` using
the following command:

.. code:: bash

   python -m pip install omkar-temp-mail

Usage
-----

1. ``get_domains``

Returns a list of available domain options for generating temporary
email addresses.

.. code:: python

   from omkar_temp_mail import TempMail

   domains = TempMail.get_domains()
   print(domains) # prints ['1secmail.com', '1secmail.org', '1secmail.net', 'kzccv.com', 'qiott.com', 'wuuvo.com', 'icznn.com', 'ezztt.com']

2. ``get_email_link(email)``

Get’s the first link from the most recent email message received in the
given email address.

.. code:: python

   from omkar_temp_mail import TempMail

   email = "shyam@1secmail.com"
   link = TempMail.get_email_link(email)
   print(link) 

3. ``get_body(email)``

Get’s the content (text or HTML) from the most recent email message
received in the given email address.

.. code:: python

   from omkar_temp_mail import TempMail

   email = "shyam@1secmail.com"
   body = TempMail.get_body(email)
   print(body) 

4. ``deleteMailbox(email)``

Deletes the mailbox associated with the provided email address.

.. code:: python

   from omkar_temp_mail import TempMail

   email = "shyam@1secmail.com"
   TempMail.deleteMailbox(email)

5. ``get_email_link_and_delete_mailbox(email)``

Combines the functionality of ``get_email_link`` and
``deleteMailbox(email)``. It first retrieves the first link from the
most recent email and then deletes the mailbox, returning the link.

.. code:: python

   from omkar_temp_mail import TempMail

   email = "shyam@1secmail.com"
   link = TempMail.get_email_link_and_delete_mailbox(email)
   print("Link:", link)

If my code helped you in generating Temporary Email, please take a moment to `star the repository <https://github.com/omkarcloud/omkar-temp-mail>`__. Your act of starring will help developers in discovering our Repository and contribute towards helping fellow developers in their automation tasks. Dhanyawad 🙏! Vande Mataram!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "omkar-temp-mail",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "temp-mail,disposable-email,temporary-email,tempmail,temporary-email,disposable-email-addresses,python,mail-api,mail ,10minutemail,10minute,free-mail",
    "author": "Chetan Jain",
    "author_email": "chetan@omkar.cloud",
    "download_url": "https://files.pythonhosted.org/packages/2b/07/247cdf1f171261235bdc1573fb4e2d58e4ab8f24594c4b2fbf59021339d6/omkar_temp_mail-1.1.0.tar.gz",
    "platform": null,
    "description": "Omkar Temp Mail\n===============\n\nOmkar Temporary Mail provides a convenient solution for receiving\ntemporary emails. It is particularly useful for automated tasks that\nrequire email verification during account creation.\n\nGetting Started\n---------------\n\nTo get started with Omkar Temp Mail install ``omkar-temp-mail`` using\nthe following command:\n\n.. code:: bash\n\n   python -m pip install omkar-temp-mail\n\nUsage\n-----\n\n1. ``get_domains``\n\nReturns a list of available domain options for generating temporary\nemail addresses.\n\n.. code:: python\n\n   from omkar_temp_mail import TempMail\n\n   domains = TempMail.get_domains()\n   print(domains) # prints ['1secmail.com', '1secmail.org', '1secmail.net', 'kzccv.com', 'qiott.com', 'wuuvo.com', 'icznn.com', 'ezztt.com']\n\n2. ``get_email_link(email)``\n\nGet\u2019s the first link from the most recent email message received in the\ngiven email address.\n\n.. code:: python\n\n   from omkar_temp_mail import TempMail\n\n   email = \"shyam@1secmail.com\"\n   link = TempMail.get_email_link(email)\n   print(link) \n\n3. ``get_body(email)``\n\nGet\u2019s the content (text or HTML) from the most recent email message\nreceived in the given email address.\n\n.. code:: python\n\n   from omkar_temp_mail import TempMail\n\n   email = \"shyam@1secmail.com\"\n   body = TempMail.get_body(email)\n   print(body) \n\n4. ``deleteMailbox(email)``\n\nDeletes the mailbox associated with the provided email address.\n\n.. code:: python\n\n   from omkar_temp_mail import TempMail\n\n   email = \"shyam@1secmail.com\"\n   TempMail.deleteMailbox(email)\n\n5. ``get_email_link_and_delete_mailbox(email)``\n\nCombines the functionality of ``get_email_link`` and\n``deleteMailbox(email)``. It first retrieves the first link from the\nmost recent email and then deletes the mailbox, returning the link.\n\n.. code:: python\n\n   from omkar_temp_mail import TempMail\n\n   email = \"shyam@1secmail.com\"\n   link = TempMail.get_email_link_and_delete_mailbox(email)\n   print(\"Link:\", link)\n\nIf my code helped you in generating Temporary Email, please take a moment to `star the repository <https://github.com/omkarcloud/omkar-temp-mail>`__. Your act of starring will help developers in discovering our Repository and contribute towards helping fellow developers in their automation tasks. Dhanyawad \ud83d\ude4f! Vande Mataram!\n--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Use Omkar Temporary for receiving temporary emails",
    "version": "1.1.0",
    "project_urls": null,
    "split_keywords": [
        "temp-mail",
        "disposable-email",
        "temporary-email",
        "tempmail",
        "temporary-email",
        "disposable-email-addresses",
        "python",
        "mail-api",
        "mail ",
        "10minutemail",
        "10minute",
        "free-mail"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b07247cdf1f171261235bdc1573fb4e2d58e4ab8f24594c4b2fbf59021339d6",
                "md5": "ec690cf800c44c4415da5561748847f4",
                "sha256": "93ce0ef1ae603cb766b752df5a5fbed5c1be852a3c3a77a5a35b967dff406fa2"
            },
            "downloads": -1,
            "filename": "omkar_temp_mail-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ec690cf800c44c4415da5561748847f4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4178,
            "upload_time": "2023-06-14T12:10:51",
            "upload_time_iso_8601": "2023-06-14T12:10:51.195152Z",
            "url": "https://files.pythonhosted.org/packages/2b/07/247cdf1f171261235bdc1573fb4e2d58e4ab8f24594c4b2fbf59021339d6/omkar_temp_mail-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-14 12:10:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "omkar-temp-mail"
}
        
Elapsed time: 0.07717s