/pyFakeMail

Python FakeMail tool

Primary LanguagePython

pyFakeMail

This is a simple Python project that includes functionality to create temporary email addresses and retrieve emails from a web service.

Installation

  1. Clone the repository:

    git clone https://github.com/Poryaei/pyFakeMail.git

Usage

  1. Import the necessary module:

    from fakemail import create_mail, get_emails
  2. Use the following functions to interact with the web service:

    • create_mail(): Creates a temporary email address and returns it.

      Example usage:

      email = create_mail()
      print(f"Temporary email address: {email}")
    • get_emails(email): Retrieves the emails associated with the specified email address from the web service and returns a specific link.

      Example usage:

      email = "example@example.com"  # Replace with the temporary email address
      link = get_emails(email)
      print(f"Link: {link}")
  3. Make sure to handle exceptions and errors appropriately when using these functions.

Contributing

Contributions are welcome! If you have any suggestions or improvements, please feel free to open an issue or submit a pull request.